Class Player

    • Constructor Detail

      • Player

        public Player()
        Adds ship with PlayerController component, loading its speed from GameManager settings.
    • Method Detail

      • updateHealth

        public void updateHealth()
        NEW update the players health based upon the difficulty
      • cleanUp

        public void cleanUp()
        Description copied from class: Entity
        Similar to the Component's cleanUp event
        Overrides:
        cleanUp in class Entity
      • getAmmo

        public int getAmmo()
      • setAmmo

        public void setAmmo​(java.lang.Integer ammo)
      • setReward_powerUp

        public void setReward_powerUp​(boolean reward_powerUp)
      • getReward_powerUp

        public boolean getReward_powerUp()