org.lee.mugen.core.physics
Class PhysicsEngime
java.lang.Object
org.lee.mugen.core.physics.PhysicsEngime
public class PhysicsEngime
- extends java.lang.Object
Compute position of sprite
TODO : with SpriteCns take in consideration the ctrl WIDTH
- Author:
- Dr Wong
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhysicsEngime
public PhysicsEngime()
processSpritePhysics
public static void processSpritePhysics(Sprite sprite)
checkGoodPositionInScreen
public static void checkGoodPositionInScreen(Sprite sprOne)
isOutOfScreeen
public static boolean isOutOfScreeen(Sprite sprOne,
float xVelToAdd)
isSpriteOutOfScreeen
public static boolean isSpriteOutOfScreeen(int x)