public class MousePathController extends MovementController<IMobileEntity>
| Constructor and Description |
|---|
MousePathController(IEntityNavigator navigator,
IMobileEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
IEntityNavigator |
getNavigator() |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
void |
update()
This method is called by the game loop on all objects that need to update
their attributes.
|
apply, attach, detach, getActiveForces, getEntity, isMovementAllowed, moveEntity, onMoved, onMovementCheckpublic MousePathController(IEntityNavigator navigator, IMobileEntity entity)
public IEntityNavigator getNavigator()
public void mousePressed(java.awt.event.MouseEvent e)
public void mouseReleased(java.awt.event.MouseEvent e)
public void update()
IUpdateableupdate in interface IUpdateableupdate in class MovementController<IMobileEntity>