Public Member Functions | Protected Attributes

psastras::engine::graphics::entities::Button Class Reference

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

List of all members.

Public Member Functions

 Button (String str, Transform tfo, SceneMaterial textMat, SceneMaterial buttonMat, TouchInputHandler tHdl)
Vec4F getAABB ()
boolean isInBounds (Vec2F coord)
void draw (Canvas c, Engine e, Viewport v, Vec4F bounds)

Protected Attributes

SceneMaterial buttonMat_
SceneMaterial textMat_
String text_
Rectangle rect_
Rect bounds_

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