Texit.TextEvent

Simple event to place text onto the screen at a given time

Constructors

this
this(float start, float end, Point pos, float[3] fg, float[3] bg, string text, bool replace)
Undocumented in source.
this
this(float start, float end, Point pos, float[3] fg, string text, bool replace)
Undocumented in source.
this
this(float start, float end, Point pos, string text, bool replace)
Undocumented in source.

Members

Functions

disable
void disable()
Undocumented in source. Be warned that the author may not have intended to support it.
enable
void enable()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

bg
float[3] bg;
Undocumented in source.
fg
float[3] fg;
Undocumented in source.
pos
Point pos;
Undocumented in source.
replace
bool replace;
Undocumented in source.
text
string text;
Undocumented in source.

Inherited Members

From Event

start
float start;

When the event should appear

end
float end;

When the event should disappear (set to Infinity if the event should always be active)

triggered
bool triggered;

Whether this event has been triggered or not yet

TileChange
struct TileChange
Undocumented in source.
changedTiles
TileChange[] changedTiles;

Tiles changed by this event

enable
void enable()

Called when the event triggers

disable
void disable()

Called on the last frame of the event

time
void time(float rel, float abs)

Called every frame when the event is active.

changeTile
void changeTile(Point p, Tile t)

Changes the tile at (x, y) to the given tile

undoChanges
void undoChanges()

Undoes all changed tiles

Meta