module Oid::Components::RightMouse::Helper
Defined in:
Instance Method Summary
-
#add_component_right_mouse : Entitas::Entity
Add a
Oid::Components::RightMouse
to the entity. -
#add_component_right_mouse(**args) : Entitas::Entity
Add a
Oid::Components::RightMouse
to the entity. -
#add_right_mouse : Entitas::Entity
Add a
Oid::Components::RightMouse
to the entity. -
#del_component_right_mouse : Entitas::Entity
Delete
Oid::Components::RightMouse
from the entity. -
#del_right_mouse : Entitas::Entity
Delete
Oid::Components::RightMouse
from the entity. -
#get_component_right_mouse : Oid::Components::RightMouse
Will return the component that is a
Oid::Components::RightMouse
or raise -
#has_component_right_mouse? : Bool
Will return true if the entity has an component
Oid::Components::RightMouse
or false if it does not -
#has_right_mouse? : Bool
Will return true if the entity has an component
Oid::Components::RightMouse
or false if it does not -
#remove_component_right_mouse
Append.
-
#remove_right_mouse
Append.
-
#replace_component_right_mouse(component : Oid::Components::RightMouse)
Append.
-
#replace_component_right_mouse(**args)
Will replace the current component with the new one generated from the provided arguments
-
#replace_right_mouse(component : Oid::Components::RightMouse)
Will replace the current component with the new one provided
-
#replace_right_mouse
Will replace the current component with the new one generated from the provided arguments
-
#right_mouse : Oid::Components::RightMouse
Will return the component that is a
Oid::Components::RightMouse
or raise - #right_mouse=(value : Bool)
-
#right_mouse? : Bool
Alias.
Instance Method Detail
Add a Oid::Components::RightMouse
to the entity. Returns self
to allow chainables
entity.add_component_right_mouse
Add a Oid::Components::RightMouse
to the entity. Returns self
to allow chainables
entity.add_component_right_mouse
Add a Oid::Components::RightMouse
to the entity. Returns self
to allow chainables
entity.add_right_mouse
Delete Oid::Components::RightMouse
from the entity. Returns self
to allow chainables
entity.del_right_mouse
entity.right_mouse # => nil
Delete Oid::Components::RightMouse
from the entity. Returns self
to allow chainables
entity.del_right_mouse
entity.right_mouse # => nil
Will return the component that is a Oid::Components::RightMouse
or raise
Will return true if the entity has an component Oid::Components::RightMouse
or false if it does not
Will return true if the entity has an component Oid::Components::RightMouse
or false if it does not
Append. Alias for #replace_right_mouse
Will replace the current component with the new one generated from the provided arguments
entity.replace_right_mouse
entity.get_right_mouse # => (new_comp)
Will replace the current component with the new one provided
entity.replace_component_right_mouse(new_comp)
entity.get_right_mouse # => (new_comp)
Will replace the current component with the new one generated from the provided arguments
entity.replace_right_mouse
entity.get_right_mouse # => (new_comp)
Will return the component that is a Oid::Components::RightMouse
or raise