public class MousePathController extends MovementController<IMobileEntity>
| Constructor and Description |
|---|
MousePathController(EntityNavigator navigator,
IMobileEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
EntityNavigator |
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 are attached to the loop.
|
apply, attach, decelerateVelocityX, decelerateVelocityY, detach, getActiveForces, getDx, getDy, getEntity, getForce, getStopThreshold, getVelocityX, getVelocityY, handleMovement, isMovedX, isMovedY, isMovementAllowed, moveEntity, onMovementCheck, setDx, setDy, setMovedX, setMovedY, setVelocityX, setVelocityYpublic MousePathController(EntityNavigator navigator, IMobileEntity entity)
public EntityNavigator getNavigator()
public void mousePressed(java.awt.event.MouseEvent e)
public void mouseReleased(java.awt.event.MouseEvent e)
public void update()
IUpdateableClientConfiguration.update in interface IUpdateableupdate in class MovementController<IMobileEntity>ClientConfiguration.setMaxFps(int)