class SfmlBook::Chapter5::SpriteNode

Defined in:

chapter5/sprite_node.cr

Constructors

Instance Method Summary

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

attach(node : SceneNode) attach, category category, 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, on_command(command : Command, delta : SF::Time) on_command, parent : Pointer(SceneNode) parent, parent=(parent : Pointer(SceneNode)) 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::Chapter5::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]