Serialized Form

  • Package a6

    • Class a6.GameComponent

      class GameComponent extends JPanel implements Serializable
      • Serialized Fields

        • isActive
          boolean isActive
          Whether a game is currently being played.
        • maxTargets
          int maxTargets
          Number of targets to show during one game.
        • score
          int score
          Number of targets successfully hit by player during the current game. If a game is not currently being played, is the number of targets hit during the previous game (0 if no games have been played).
        • target
          GameComponent.Target target
          Encapsulates state and controls for current target.
        • targetCount
          int targetCount
          Number of targets that have been shown during current game (including the current target). If a game is not currently being played, is the number of targets shown during the previous game (0 if no games have been played).
        • targetTimeMillis
          int targetTimeMillis
          Duration each target is shown [ms].
        • timer
          Timer timer
          Timer to trigger changing targets.