SfmlBook::Chapter4::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 : SceneNode | Nil)
Sourceworld_transform
Source