Class NotInitializedState

java.lang.Object
rekit.logic.gameelements.entities.state.EntityState
rekit.logic.gameelements.entities.state.NotInitializedState

public class NotInitializedState extends EntityState
This state is used for all prototypes of Entity.
This state will print to the syserr that the wrong constructor Entity(Team team) was used to create this element
Author:
Dominik Fuchss
  • Constructor Details

    • NotInitializedState

      public NotInitializedState(StateEntity entity)
      Create the State.
      Parameters:
      entity - the entity
  • Method Details

    • logicLoop

      public void logicLoop()
      Description copied from class: EntityState
      Logic loop of state.
      Overrides:
      logicLoop in class EntityState
    • floorCollision

      public void floorCollision()
      Description copied from class: EntityState
      This method will be invoked when this entity collides with the floor.
      Overrides:
      floorCollision in class EntityState