Mallet Engine  2
Entity-Component based game engine, written in Java.
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes
com.linxonline.mallet.physics.AABB Class Reference
Collaboration diagram for com.linxonline.mallet.physics.AABB:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AABB ()
 AABB (final Vector2 _min, final Vector2 _max, final Vector2 _offset, final Vector2 _pos)
void setFromOBB (final OBB _obb)
void setDimensionsFromOBB (final OBB _obb)
void setPosition (final float _x, final float _y)
void translate (final float _x, final float _y)
boolean intersectPoint (final float _x, final float _y)
boolean intersectAABB (final AABB _aabb)
Vector2 getAbsoluteCenter ()
String toString ()

Public Attributes

final Vector2 position = new Vector2()
final Vector2 offset = new Vector2()
final Vector2 min = new Vector2()
final Vector2 max = new Vector2()

Constructor & Destructor Documentation

com.linxonline.mallet.physics.AABB.AABB ( final Vector2  _min,
final Vector2  _max,
final Vector2  _offset,
final Vector2  _pos 
)

Member Function Documentation

boolean com.linxonline.mallet.physics.AABB.intersectPoint ( final float  _x,
final float  _y 
)
void com.linxonline.mallet.physics.AABB.setPosition ( final float  _x,
final float  _y 
)
void com.linxonline.mallet.physics.AABB.translate ( final float  _x,
final float  _y 
)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables