Class Player

java.lang.Object
All Implemented Interfaces:
CollisionCallBack

public class Player
extends Ship
Player's ship entity.
  • Constructor Details

    • Player

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

    • 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()