|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.b3dgs.lionengine.game.CollisionArea
public class CollisionArea
Describe a standard bounding box collision, using location and area.
Constructor Summary | |
---|---|
CollisionArea(int width,
int height,
int x,
int y)
Create a new collision area. |
Method Summary | |
---|---|
int |
getHeight()
Get collision area height. |
int |
getWidth()
Get collision area width. |
int |
getX()
Get collision area location x. |
int |
getY()
Get collision area location y. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollisionArea(int width, int height, int x, int y)
width
- collision width.height
- collision height.x
- collision location x.y
- collision location y.Method Detail |
---|
public int getWidth()
public int getHeight()
public int getX()
public int getY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |