moagg.game.control.handler.physic
Class ComplexPhysicImpl

java.lang.Object
  extended by moagg.game.control.handler.physic.AbstractPhysicImpl
      extended by moagg.game.control.handler.physic.ComplexPhysicImpl
All Implemented Interfaces:
Physic
Direct Known Subclasses:
MissilePhysicImpl, ShipPhysicImpl

public class ComplexPhysicImpl
extends AbstractPhysicImpl

A full-blown physics implementatios containing gravity, friction and streams.


Constructor Summary
ComplexPhysicImpl()
           
 
Method Summary
 void update(MoaggGameObject object, GameControl gameControl, long elapsedTime)
           
protected  void updateWithoutFriction(MoaggGameObject object, GameControl gameControl, long elapsedTime)
           
 
Methods inherited from class moagg.game.control.handler.physic.AbstractPhysicImpl
getThrustAcceleration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplexPhysicImpl

public ComplexPhysicImpl()
Method Detail

update

public void update(MoaggGameObject object,
                   GameControl gameControl,
                   long elapsedTime)

updateWithoutFriction

protected void updateWithoutFriction(MoaggGameObject object,
                                     GameControl gameControl,
                                     long elapsedTime)


Copyright © 2008. All Rights Reserved.