class

SfmlBook::Chapter4::SpriteNode

Inherits SfmlBook::Chapter4::SceneNode < SF::Drawable < SF::NonCopyable < SF::Transformable < Reference < Object

Constructors

new(texture : SF::Texture, rect : SF::IntRect)
Source
new(texture : SF::Texture)
Source

Instance methods

draw_current(target : SF::RenderTarget, states : SF::RenderStates)
Source