moagg.game.control.handler
Class PhysicHandler

java.lang.Object
  extended by moagg.game.control.handler.PhysicHandler
All Implemented Interfaces:
GameControlHandler

public class PhysicHandler
extends java.lang.Object
implements GameControlHandler

Applies a physical engine to game objects.


Constructor Summary
PhysicHandler()
           
 
Method Summary
 void update(InternalGameControl gameControl, long elapsedTime)
           
protected  void updateObject(MoaggGameObject object, InternalGameControl gameControl, long elapsedTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicHandler

public PhysicHandler()
Method Detail

update

public void update(InternalGameControl gameControl,
                   long elapsedTime)
Specified by:
update in interface GameControlHandler

updateObject

protected void updateObject(MoaggGameObject object,
                            InternalGameControl gameControl,
                            long elapsedTime)


Copyright © 2008. All Rights Reserved.