Class InGameScreen

  • All Implemented Interfaces:
    KeyListener, java.awt.event.ActionListener, java.util.EventListener

    public class InGameScreen
    extends Screen
    implements java.awt.event.ActionListener
    • Field Detail

      • lstTutotxt

        public java.util.List<Text> lstTutotxt
      • timerActivated

        public boolean timerActivated
      • txtCountPatient

        public Text txtCountPatient
    • Constructor Detail

      • InGameScreen

        public InGameScreen​(boolean isTutorial)
    • 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 interface java.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