Kaba struct Entity ed
...
Syntax ed
struct Entity extends BaseClass
var ang: quaternion
var parent: Entity*
var pos: vec3
# constructors
func mut __init__()
# functions
func mut selfref add_component()
func mut delete_component(c: Component&)
func selfref get_component()
func get_matrix() -> mat4
# operators
func __del_override__() # __del_override__ Entity
func mut selfref __add_component(t: Class*, vars: string) -> Component& # Entity __add_component Class* -> Component&
func selfref __get_component(t: Class*) -> Component* # Entity __get_component Class* -> Component*
func mut __assign__(other: Entity) # Entity = Entity
Functions ed
- func mut selfref add_component()
- ...
- func mut delete_component(c: Component&)
- ...
- func selfref get_component()
- ...
- func get_matrix() -> mat4
- ...
Elements ed
- var ang: quaternion
- ...
- var parent: Entity*
- ...
- var pos: vec3
- ...