class Glove::EntityCollection

Overview

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

Included Modules

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_collection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def <<(entity) #

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

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

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

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

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

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

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

[View source]
def each(&) #
Description copied from module Enumerable(Glove::Entity)

Must yield this collection's elements to the block.


[View source]
def remove_dead #

[View source]
def unwrap : Array(Glove::Entity) #

[View source]