module Oid::Components::MoveComplete::Helper
Direct including types
Defined in:
Instance Method Summary
-
#add_component_move_complete : Entitas::Entity
Add a
Oid::Components::MoveComplete
to the entity. -
#add_component_move_complete(**args) : Entitas::Entity
Add a
Oid::Components::MoveComplete
to the entity. -
#add_move_complete : Entitas::Entity
Add a
Oid::Components::MoveComplete
to the entity. -
#del_component_move_complete : Entitas::Entity
Delete
Oid::Components::MoveComplete
from the entity. -
#del_move_complete : Entitas::Entity
Delete
Oid::Components::MoveComplete
from the entity. -
#get_component_move_complete : Oid::Components::MoveComplete
Will return the component that is a
Oid::Components::MoveComplete
or raise -
#has_component_move_complete? : Bool
Will return true if the entity has an component
Oid::Components::MoveComplete
or false if it does not -
#has_move_complete? : Bool
Will return true if the entity has an component
Oid::Components::MoveComplete
or false if it does not -
#move_complete : Oid::Components::MoveComplete
Will return the component that is a
Oid::Components::MoveComplete
or raise - #move_complete=(value : Bool)
-
#move_complete? : Bool
Alias.
-
#remove_component_move_complete
Append.
-
#remove_move_complete
Append.
-
#replace_component_move_complete(component : Oid::Components::MoveComplete)
Append.
-
#replace_component_move_complete(**args)
Will replace the current component with the new one generated from the provided arguments
-
#replace_move_complete(component : Oid::Components::MoveComplete)
Will replace the current component with the new one provided
-
#replace_move_complete
Will replace the current component with the new one generated from the provided arguments
Instance Method Detail
Add a Oid::Components::MoveComplete
to the entity. Returns self
to allow chainables
entity.add_component_move_complete
Add a Oid::Components::MoveComplete
to the entity. Returns self
to allow chainables
entity.add_component_move_complete
Add a Oid::Components::MoveComplete
to the entity. Returns self
to allow chainables
entity.add_move_complete
Delete Oid::Components::MoveComplete
from the entity. Returns self
to allow chainables
entity.del_move_complete
entity.move_complete # => nil
Delete Oid::Components::MoveComplete
from the entity. Returns self
to allow chainables
entity.del_move_complete
entity.move_complete # => nil
Will return the component that is a Oid::Components::MoveComplete
or raise
Will return true if the entity has an component Oid::Components::MoveComplete
or false if it does not
Will return true if the entity has an component Oid::Components::MoveComplete
or false if it does not
Will return the component that is a Oid::Components::MoveComplete
or raise
Append. Alias for #replace_move_complete
Will replace the current component with the new one generated from the provided arguments
entity.replace_move_complete
entity.get_move_complete # => (new_comp)
Will replace the current component with the new one provided
entity.replace_component_move_complete(new_comp)
entity.get_move_complete # => (new_comp)
Will replace the current component with the new one generated from the provided arguments
entity.replace_move_complete
entity.get_move_complete # => (new_comp)