class Glove::Entity

Overview

Listens to changes in cursor position and sets inside/outside.

Defined in:

components/camera.cr
components/color.cr
components/cursor_tracking.cr
components/parallax.cr
components/texture.cr
components/transform.cr
components/z.cr
entity.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def <<(component) #

[View source]
def [](klass : Glove::Components::Camera.class) #

[View source]
def [](klass : Glove::Components::Color.class) #

[View source]
def [](klass : Glove::Components::CursorTracking.class) #

[View source]
def [](klass : Glove::Components::Parallax.class) #

[View source]
def [](klass : Glove::Components::Texture.class) #

[View source]
def [](klass : Glove::Components::Transform.class) #

[View source]
def [](klass : Glove::Components::Z.class) #

[View source]
def [](key) #

[View source]
def []?(klass : Glove::Components::Camera.class) #

[View source]
def []?(klass : Glove::Components::Color.class) #

[View source]
def []?(klass : Glove::Components::CursorTracking.class) #

[View source]
def []?(klass : Glove::Components::Parallax.class) #

[View source]
def []?(klass : Glove::Components::Texture.class) #

[View source]
def []?(klass : Glove::Components::Transform.class) #

[View source]
def []?(klass : Glove::Components::Z.class) #

[View source]
def []?(key) #

[View source]
def children : Glove::EntityCollection #

[View source]
def components #

[View source]
def dead=(dead : Bool) #

[View source]
def dead? : Bool #

[View source]
def delete_component(sym : Symbol) #

[View source]
def has_component?(klass : Glove::Components::Camera.class) #

[View source]
def has_component?(klass : Glove::Components::Color.class) #

[View source]
def has_component?(klass : Glove::Components::CursorTracking.class) #

[View source]
def has_component?(klass : Glove::Components::Parallax.class) #

[View source]
def has_component?(klass : Glove::Components::Texture.class) #

[View source]
def has_component?(klass : Glove::Components::Transform.class) #

[View source]
def has_component?(klass : Glove::Components::Z.class) #

[View source]
def keyboard_event_handler : Glove::EventHandler? #

[View source]
def keyboard_event_handler=(keyboard_event_handler : Glove::EventHandler | Nil) #

[View source]
def mouse_event_handler : Glove::EventHandler? #

[View source]
def mouse_event_handler=(mouse_event_handler : Glove::EventHandler | Nil) #

[View source]
def update(delta_time, space, app) #

[View source]