module Oid::Components::KeyUp::Helper
Defined in:
Instance Method Summary
-
#add_component_key_up : Entitas::Entity
Add a
Oid::Components::KeyUp
to the entity. -
#add_component_key_up(**args) : Entitas::Entity
Add a
Oid::Components::KeyUp
to the entity. -
#add_key_up : Entitas::Entity
Add a
Oid::Components::KeyUp
to the entity. -
#del_component_key_up : Entitas::Entity
Delete
Oid::Components::KeyUp
from the entity. -
#del_key_up : Entitas::Entity
Delete
Oid::Components::KeyUp
from the entity. -
#get_component_key_up : Oid::Components::KeyUp
Will return the component that is a
Oid::Components::KeyUp
or raise -
#has_component_key_up? : Bool
Will return true if the entity has an component
Oid::Components::KeyUp
or false if it does not -
#has_key_up? : Bool
Will return true if the entity has an component
Oid::Components::KeyUp
or false if it does not -
#key_up : Oid::Components::KeyUp
Will return the component that is a
Oid::Components::KeyUp
or raise - #key_up=(value : Bool)
-
#key_up? : Bool
Alias.
-
#remove_component_key_up
Append.
-
#remove_key_up
Append.
-
#replace_component_key_up(component : Oid::Components::KeyUp)
Append.
-
#replace_component_key_up(**args)
Will replace the current component with the new one generated from the provided arguments
-
#replace_key_up(component : Oid::Components::KeyUp)
Will replace the current component with the new one provided
-
#replace_key_up
Will replace the current component with the new one generated from the provided arguments
Instance Method Detail
Add a Oid::Components::KeyUp
to the entity. Returns self
to allow chainables
entity.add_component_key_up
Add a Oid::Components::KeyUp
to the entity. Returns self
to allow chainables
entity.add_component_key_up
Add a Oid::Components::KeyUp
to the entity. Returns self
to allow chainables
entity.add_key_up
Delete Oid::Components::KeyUp
from the entity. Returns self
to allow chainables
entity.del_key_up
entity.key_up # => nil
Delete Oid::Components::KeyUp
from the entity. Returns self
to allow chainables
entity.del_key_up
entity.key_up # => nil
Will return the component that is a Oid::Components::KeyUp
or raise
Will return true if the entity has an component Oid::Components::KeyUp
or false if it does not
Will return true if the entity has an component Oid::Components::KeyUp
or false if it does not
Will return the component that is a Oid::Components::KeyUp
or raise
Append. Alias for #replace_key_up
Will replace the current component with the new one generated from the provided arguments
entity.replace_key_up
entity.get_key_up # => (new_comp)
Will replace the current component with the new one provided
entity.replace_component_key_up(new_comp)
entity.get_key_up # => (new_comp)
Will replace the current component with the new one generated from the provided arguments
entity.replace_key_up
entity.get_key_up # => (new_comp)