|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Collision
Objects of this instance holds the 2 object which should collide with each other, with the normalvector on the first object
| Constructor Summary | |
Collision(java.lang.Object _oObject1,
java.lang.Object _oObject2,
CollisionLine2D _oLine)
Constructor, set values |
|
| Method Summary | |
java.lang.Object |
getFirstObject()
Returns the first object |
CollisionLine2D |
getLine()
Returns the normal line |
java.lang.Object |
getSecondObject()
Returns the second object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Collision(java.lang.Object _oObject1,
java.lang.Object _oObject2,
CollisionLine2D _oLine)
_oObject1 - the object to which object 2 collides with_oObject2 - the colliding object_oLine - the normal vector on object 1| Method Detail |
public java.lang.Object getFirstObject()
public java.lang.Object getSecondObject()
public CollisionLine2D getLine()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||