public abstract class AbstractControl extends Object implements Control
| Constructor and Description |
|---|
AbstractControl() |
| Modifier and Type | Method and Description |
|---|---|
Entity |
getEntity() |
boolean |
isPaused() |
void |
onAdded(Entity entity)
Called when this control is added to entity.
|
void |
onRemoved(Entity entity)
Called when this control is removed from entity.
|
void |
pause()
Pauses execution of this control.
|
void |
resume()
Resumes execution of this control.
|
public Entity getEntity()
public void onAdded(Entity entity)
Controlpublic void onRemoved(Entity entity)
Controlpublic final boolean isPaused()
public final void pause()
ControlCopyright © 2017. All rights reserved.