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_ |