Kaba class Layer ed
Syntax ed
class Layer
color color
bool enabled
vector pos
# functions
void __init__(vector pos, bool set_cur)
void __init__()
void add(Layer* p)
virtual bool is_mouse_over()
virtual void on_click()
virtual void on_enter()
virtual void on_hover()
virtual void on_iterate(float dt)
virtual void on_leave()
# operators
virtual void __draw() # __draw Layer -> void
virtual void __update() # __update Layer -> void
Functions ed
- void __init__(vector pos, bool set_cur)
- description
- void __init__()
- description
- void add(Layer* p)
- description
- bool is_mouse_over()
- description
- void on_click()
- description
- void on_enter()
- description
- void on_hover()
- description
- void on_iterate(float dt)
- description
- void on_leave()
- description
Elements ed
- color color
- description
- bool enabled
- description
- vector pos
- description