[ Version ( since = "1.4" ) ]
public void add_effect (Effect effect)
Adds effect
to the list of Effects applied to
this
The Actor will hold a reference on the effect
until either
remove_effect or
clear_effects is called.
Note that as Effect is initially unowned, add_effect
will sink any floating reference on effect
.
this |
a Actor |
effect |
a Effect |