Class PlayerBase

java.lang.Object
com.ardorcraft.player.PlayerBase
Direct Known Subclasses:
PlayerWithCollision

public class PlayerBase extends Object
Useful baseclass for player handling
  • Field Details Link icon

    • position Link icon

      protected final Vector3 position
    • direction Link icon

      protected final Vector3 direction
    • up Link icon

      protected final Vector3 up
    • left Link icon

      protected final Vector3 left
    • velocity Link icon

      protected final Vector3 velocity
    • acceleration Link icon

      protected final Vector3 acceleration
  • Constructor Details Link icon

    • PlayerBase Link icon

      public PlayerBase()
  • Method Details Link icon

    • getPosition Link icon

      public Vector3 getPosition()
    • getDirection Link icon

      public Vector3 getDirection()
    • getUp Link icon

      public Vector3 getUp()
    • getVelocity Link icon

      public Vector3 getVelocity()
    • getLeft Link icon

      public Vector3 getLeft()
    • getAcceleration Link icon

      public Vector3 getAcceleration()
    • normalize Link icon

      public void normalize()