module Oid::Components::KeyReleased::Helper
Defined in:
Instance Method Summary
-
#add_component_key_released : Entitas::Entity
Add a
Oid::Components::KeyReleased
to the entity. -
#add_component_key_released(**args) : Entitas::Entity
Add a
Oid::Components::KeyReleased
to the entity. -
#add_key_released : Entitas::Entity
Add a
Oid::Components::KeyReleased
to the entity. -
#del_component_key_released : Entitas::Entity
Delete
Oid::Components::KeyReleased
from the entity. -
#del_key_released : Entitas::Entity
Delete
Oid::Components::KeyReleased
from the entity. -
#get_component_key_released : Oid::Components::KeyReleased
Will return the component that is a
Oid::Components::KeyReleased
or raise -
#has_component_key_released? : Bool
Will return true if the entity has an component
Oid::Components::KeyReleased
or false if it does not -
#has_key_released? : Bool
Will return true if the entity has an component
Oid::Components::KeyReleased
or false if it does not -
#key_released : Oid::Components::KeyReleased
Will return the component that is a
Oid::Components::KeyReleased
or raise - #key_released=(value : Bool)
-
#key_released? : Bool
Alias.
-
#remove_component_key_released
Append.
-
#remove_key_released
Append.
-
#replace_component_key_released(component : Oid::Components::KeyReleased)
Append.
-
#replace_component_key_released(**args)
Will replace the current component with the new one generated from the provided arguments
-
#replace_key_released(component : Oid::Components::KeyReleased)
Will replace the current component with the new one provided
-
#replace_key_released
Will replace the current component with the new one generated from the provided arguments
Instance Method Detail
Add a Oid::Components::KeyReleased
to the entity. Returns self
to allow chainables
entity.add_component_key_released
Add a Oid::Components::KeyReleased
to the entity. Returns self
to allow chainables
entity.add_component_key_released
Add a Oid::Components::KeyReleased
to the entity. Returns self
to allow chainables
entity.add_key_released
Delete Oid::Components::KeyReleased
from the entity. Returns self
to allow chainables
entity.del_key_released
entity.key_released # => nil
Delete Oid::Components::KeyReleased
from the entity. Returns self
to allow chainables
entity.del_key_released
entity.key_released # => nil
Will return the component that is a Oid::Components::KeyReleased
or raise
Will return true if the entity has an component Oid::Components::KeyReleased
or false if it does not
Will return true if the entity has an component Oid::Components::KeyReleased
or false if it does not
Will return the component that is a Oid::Components::KeyReleased
or raise
Append. Alias for #replace_key_released
Will replace the current component with the new one generated from the provided arguments
entity.replace_key_released
entity.get_key_released # => (new_comp)
Will replace the current component with the new one provided
entity.replace_component_key_released(new_comp)
entity.get_key_released # => (new_comp)
Will replace the current component with the new one generated from the provided arguments
entity.replace_key_released
entity.get_key_released # => (new_comp)