Actor2D
Abstracta
Base: Obj
Derivadas:
Sprite
Atributos
-
Character2D
character
(rdonly)
-
World2D
world
(rdonly)
-
Vec2
world_position
-
Vec2
position
-
float
depth
-
float
angle
-
Vec2
linear_velocity
-
float
angular_velocity
-
int
life_time
-
bool
auto_rotate
-
int
score
(rdonly)
-
Actor2D
master
-
Vec2
hook
-
bool
follow_master
-
bool
follow_angle
Funciones
-
bool
getMessage (
Actor2D
,
int
,
Msg
)
-
bool
goToAngle (
Actor2D
,
float
,
float
)
-
bool
goToPos (
Actor2D
,
Vec2
,
float
,
float
)
-
bool
hasMessage (
Actor2D
,
int
)
-
virtual
void
onDead (
Actor2D
)
-
virtual
void
onInstance (
Actor2D
)
-
int
tag_get (
Actor2D
,
int
)
-
int
tag_has (
Actor2D
,
int
)
-
void
tag_remove (
Actor2D
,
int
)
-
void
tag_set (
Actor2D
,
int
,
int
)
-
void
tags_clear (
Actor2D
)
-
int
tags_compare (
Actor2D
,
Obj
)
-
void
tags_copyFrom (
Actor2D
,
Obj
)
-
int
tags_count (
Actor2D
)
-
bool
tags_empty (
Actor2D
)
-
int
tags_keys (
Actor2D
,
List
)
-
void
tags_updateFrom (
Actor2D
,
Obj
)
© Paco Suárez (pacosu@xitai,es). 2023.