Package com.mygdx.game.Entitys
Class Player
java.lang.Object
com.mygdx.game.Entitys.Entity
com.mygdx.game.Entitys.Ship
com.mygdx.game.Entitys.Player
- All Implemented Interfaces:
CollisionCallBack
public class Player extends Ship
Player's ship entity.
-
Field Summary
Fields inherited from class com.mygdx.game.Entitys.Ship
shipDirections -
Constructor Summary
Constructors Constructor Description Player()Adds ship with PlayerController component, loading its speed from GameManager settings. -
Method Summary
Methods inherited from class com.mygdx.game.Entitys.Ship
BeginContact, EndContact, EnterTrigger, ExitTrigger, getAttackRange, getHealth, getPlunder, getPosition, isAlive, plunder, setFaction, setShipDirection, setShipDirection, shoot, shootMethods inherited from class com.mygdx.game.Entitys.Entity
addComponent, addComponents, getComponent, getComponent, getComponents, getName, raiseEvents, setName, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Player
public Player()Adds ship with PlayerController component, loading its speed from GameManager settings.
-
-
Method Details