Public Member Functions | Protected Attributes

psastras::engine::graphics::entities::Text Class Reference

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

List of all members.

Public Member Functions

 Text (String text, SceneMaterial sm, Transform tfo, TouchInputHandler hdl)
Vec4F getAABB ()
boolean isInBounds (Vec2F coord)
void draw (Canvas c, Engine e, Viewport v, Transform ss)

Protected Attributes

String text_

Member Function Documentation

void psastras::engine::graphics::entities::Text::draw ( Canvas  c,
Engine  e,
Viewport  v,
Transform  ss 
) [inline, virtual]

The draw method is called by the Scene when drawing the SceneEntities. This method is reimplemented by other entities for drawing.

Parameters:
c The application main canvas.
e The engine instance.
v The viewport to use.

Implements psastras::engine::graphics::SceneEntity.


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