class SfmlBook::Chapter4::Aircraft

Defined in:

chapter4/aircraft.cr

Constructors

Instance Method Summary

Instance methods inherited from class SfmlBook::Chapter4::Entity

accelerate(velocity : SF::Vector2 | Tuple) accelerate, update_current(delta : SF::Time) update_current, velocity : SF::Vector2(Float32) velocity, velocity=(velocity : SF::Vector2 | Tuple) velocity=

Instance methods inherited from class SfmlBook::Chapter4::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 : 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::Chapter4::SceneNode

new new

Constructor Detail

def self.new(type : Type, holder : TextureHolder) #

[View source]

Instance Method Detail

def category #

[View source]
def draw_current(target : SF::RenderTarget, states : SF::RenderStates) #

[View source]