moagg.game.control.handler
Class LandingHandler
java.lang.Object
moagg.game.control.handler.LandingHandler
- All Implemented Interfaces:
- GameControlHandler
public class LandingHandler
- extends java.lang.Object
- implements GameControlHandler
Takes care of checking if the ship has landed on a platform.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LandingHandler
public LandingHandler()
update
public void update(InternalGameControl gameControl,
long elapsedTime)
- Specified by:
update
in interface GameControlHandler
checkShipLanded
protected void checkShipLanded(Ship player,
InternalGameControl gameControl)
checkShipTakeoff
protected void checkShipTakeoff(Ship player,
InternalGameControl gameControl)
checkShipOnFuelPlatform
protected void checkShipOnFuelPlatform(Ship player,
long elapsedTime)
landPlayerOnPlatform
protected void landPlayerOnPlatform(Ship player,
Platform platform)
Copyright © 2008. All Rights Reserved.