class SfmlBook::Chapter3::SpriteNode

Defined in:

chapter3/sprite_node.cr

Constructors

Instance Method Summary

Instance methods inherited from class SfmlBook::Chapter3::SceneNode

attach(node : SceneNode) attach, detach(node : SceneNode) detach, draw(target : SF::RenderTarget, states : SF::RenderStates) draw, draw_children(target : SF::RenderTarget, states : SF::RenderStates) draw_children, draw_current(target : SF::RenderTarget, states : SF::RenderStates) draw_current, parent : SceneNode | Nil parent, parent=(parent : SceneNode | Nil) parent=, update(delta : SF::Time) update, update_children(delta : SF::Time) update_children, update_current(delta : SF::Time) update_current, world_transform world_transform

Constructor methods inherited from class SfmlBook::Chapter3::SceneNode

new new

Constructor Detail

def self.new(texture : SF::Texture, rect : SF::IntRect) #

[View source]
def self.new(texture : SF::Texture) #

[View source]

Instance Method Detail

def draw_current(target : SF::RenderTarget, states : SF::RenderStates) #

[View source]