org.lee.mugen.core.physics
Class PhysicsEngime

java.lang.Object
  extended by 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

Constructor Summary
PhysicsEngime()
           
 
Method Summary
static void checkGoodPositionInScreen(Sprite sprOne)
           
static boolean isOutOfScreeen(Sprite sprOne, float xVelToAdd)
           
static boolean isSpriteOutOfScreeen(int x)
           
static void processSpritePhysics(Sprite sprite)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicsEngime

public PhysicsEngime()
Method Detail

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)