Public Member Functions

psastras::engine::graphics::entities::Rectangle Class Reference

Inheritance diagram for psastras::engine::graphics::entities::Rectangle:
Inheritance graph
[legend]
Collaboration diagram for psastras::engine::graphics::entities::Rectangle:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Rectangle (Transform tfo, SceneMaterial sm, TouchInputHandler hdl)
Vec4F getAABB ()
boolean isInBounds (Vec2F coord)
void draw (Canvas c, Engine e, Viewport v, Vec4F bounds)

Constructor & Destructor Documentation

psastras::engine::graphics::entities::Rectangle::Rectangle ( Transform  tfo,
SceneMaterial  sm,
TouchInputHandler  hdl 
) [inline]

Constructs a drawable rectangle with the given bounds (in virtual space), which can be then added to a scene.

Parameters:
bounds 

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