Class PlayerControlSystem
java.lang.Object
com.badlogic.ashley.core.EntitySystem
com.badlogic.ashley.systems.IteratingSystem
com.devcharles.piazzapanic.componentsystems.PlayerControlSystem
public class PlayerControlSystem
extends com.badlogic.ashley.systems.IteratingSystem
Controls the one cook that has the PlayerComponent
- 
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) KeyboardInput(package private) PlayerComponentFields inherited from class com.badlogic.ashley.core.EntitySystem
priority - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocessEntity(com.badlogic.ashley.core.Entity entity, float deltaTime) This method is called on every entity on every update call of the EntitySystem.Methods inherited from class com.badlogic.ashley.systems.IteratingSystem
addedToEngine, getEntities, getFamily, removedFromEngine, updateMethods inherited from class com.badlogic.ashley.core.EntitySystem
checkProcessing, getEngine, setProcessing 
- 
Field Details
- 
input
KeyboardInput input - 
changingCooks
boolean changingCooks - 
playerComponent
PlayerComponent playerComponent 
 - 
 - 
Constructor Details
- 
PlayerControlSystem
 
 - 
 - 
Method Details
- 
processEntity
protected void processEntity(com.badlogic.ashley.core.Entity entity, float deltaTime) Description copied from class:com.badlogic.ashley.systems.IteratingSystemThis method is called on every entity on every update call of the EntitySystem. Override this to implement your system's specific processing.- Specified by:
 processEntityin classcom.badlogic.ashley.systems.IteratingSystem- Parameters:
 entity- The current Entity being processeddeltaTime- The delta time between the last and current frame
 
 -