Layer

Undocumented in source.

Constructors

this
this(EventManager emngr, LayerType type)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addDrawable
void addDrawable(Drawable d)
Undocumented in source. Be warned that the author may not have intended to support it.
addModifier
void addModifier(Modifier m)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
onResize
void onResize(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

aspectRatio
float aspectRatio;
Undocumented in source.
drawables
DynamicArray!Drawable drawables;
Undocumented in source.
modifiers
DynamicArray!Modifier modifiers;
Undocumented in source.
type
LayerType type;
Undocumented in source.

Inherited Members

From EventListener

eventManager
EventManager eventManager;
Undocumented in source.
enabled
bool enabled;
Undocumented in source.
generateUserEvent
void generateUserEvent(int code)
Undocumented in source. Be warned that the author may not have intended to support it.
processEvents
void processEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
processEvent
void processEvent(Event* e)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyDown
void onKeyDown(int key)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyUp
void onKeyUp(int key)
Undocumented in source. Be warned that the author may not have intended to support it.
onTextInput
void onTextInput(dchar code)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseButtonDown
void onMouseButtonDown(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseButtonUp
void onMouseButtonUp(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onJoystickButtonDown
void onJoystickButtonDown(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onJoystickButtonUp
void onJoystickButtonUp(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onJoystickAxisMotion
void onJoystickAxisMotion(int axis, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
onResize
void onResize(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
onFocusLoss
void onFocusLoss()
Undocumented in source. Be warned that the author may not have intended to support it.
onFocusGain
void onFocusGain()
Undocumented in source. Be warned that the author may not have intended to support it.
onQuit
void onQuit()
Undocumented in source. Be warned that the author may not have intended to support it.
onUserEvent
void onUserEvent(int code)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.

From Drawable

draw
void draw(double dt)
Undocumented in source.

Meta