Package com.t3_tp3d.game.screen
Class InGameScreen
- java.lang.Object
-
- com.t3_tp3d.game.screen.Screen
-
- com.t3_tp3d.game.screen.InGameScreen
-
- All Implemented Interfaces:
KeyListener
,java.awt.event.ActionListener
,java.util.EventListener
public class InGameScreen extends Screen implements java.awt.event.ActionListener
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<Text>
lstTutotxt
static int
RESULT_ROW_LENGTH
boolean
timerActivated
Text
txtCountPatient
-
Fields inherited from class com.t3_tp3d.game.screen.Screen
CLICKED_COLOR_FILTER, CLICKED_TEXTURE_FILTER, HOVER_COLOR_FILTER, HOVER_TEXTURE_FILTER, NO_COLOR_FILTER, NO_TEXTURE_FILTER, z
-
-
Constructor Summary
Constructors Constructor Description InGameScreen(boolean isTutorial)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
int
getSavedPatient()
java.lang.String
getTimerText()
void
txtTutoVisible(java.util.List<Text> lstTutotxt, java.lang.Boolean bool)
-
Methods inherited from class com.t3_tp3d.game.screen.Screen
addButton, addText, cleanupScreen, desactivate, drawBackground, drawColoredRect, drawTexturedRect, hideModal, isHideModal, keyPressed, keyReleased, removeButton, removeText, renderScreen, setBounds, showModal, updateCamera, updateScreen
-
-
-
-
Field Detail
-
RESULT_ROW_LENGTH
public static final int RESULT_ROW_LENGTH
- See Also:
- Constant Field Values
-
lstTutotxt
public java.util.List<Text> lstTutotxt
-
timerActivated
public boolean timerActivated
-
txtCountPatient
public Text txtCountPatient
-
-
Method Detail
-
getTimerText
public java.lang.String getTimerText()
- Returns:
- String Retourne le temps restant avec mise en forme
-
getSavedPatient
public int getSavedPatient()
- Returns:
- int Retourne le nombre de patients sauvés
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
txtTutoVisible
public void txtTutoVisible(java.util.List<Text> lstTutotxt, java.lang.Boolean bool)
- Parameters:
lstTutotxt
-bool
- affiche ou non le texte à l'ecran
-
-