scene2d :: LiveObject :: defaultinit
scene2d :: LiveObject :: draw
Redefine this method to asks how to draw on a viewscene2d :: LiveObject :: exists
Controls whetherupdate' and
draw' are automatically called by `LiveGroup'
scene2d :: LiveObject :: exists=
Controls whetherupdate' and
draw' are automatically called by `LiveGroup'
scene2d $ LiveObject :: SELF
Type of this instance, automatically specialized in every classcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
scene2d :: LiveObject :: defaultinit
core :: Object :: defaultinit
scene2d :: LiveObject :: draw
Redefine this method to asks how to draw on a viewscene2d :: LiveObject :: exists
Controls whetherupdate' and
draw' are automatically called by `LiveGroup'
scene2d :: LiveObject :: exists=
Controls whetherupdate' and
draw' are automatically called by `LiveGroup'
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# The root class of the living objects (sprites, group of sprites, etc.)
abstract class LiveObject
# Compute the position, state and appearance.
fun update do end
# Controls whether `update' and `draw' are automatically called by `LiveGroup'
var exists = true is writable
# Redefine this method to asks how to draw on a view
fun draw(view: View) is abstract
end
lib/scene2d/scene2d.nit:20,1--30,3