SfmlBook::Chapter5::SceneNode
Inherits SF::Drawable < SF::NonCopyable < SF::Transformable < Reference < Object
Constructors
new
SourceInstance methods
attach(node : SceneNode)
Sourcecategory
Sourcedetach(node : SceneNode)
SourceDraw the object to a render target.
This is an abstract method that has to be implemented by the including class to define how the drawable should be drawn.
- target - Render target to draw to
- states - Current render states
parent
Sourceparent=(parent : Pointer(SceneNode))
Sourceworld_transform
Source