module Oid::Components::LeftMouse::Helper
Defined in:
Instance Method Summary
-
#add_component_left_mouse : Entitas::Entity
Add a
Oid::Components::LeftMouse
to the entity. -
#add_component_left_mouse(**args) : Entitas::Entity
Add a
Oid::Components::LeftMouse
to the entity. -
#add_left_mouse : Entitas::Entity
Add a
Oid::Components::LeftMouse
to the entity. -
#del_component_left_mouse : Entitas::Entity
Delete
Oid::Components::LeftMouse
from the entity. -
#del_left_mouse : Entitas::Entity
Delete
Oid::Components::LeftMouse
from the entity. -
#get_component_left_mouse : Oid::Components::LeftMouse
Will return the component that is a
Oid::Components::LeftMouse
or raise -
#has_component_left_mouse? : Bool
Will return true if the entity has an component
Oid::Components::LeftMouse
or false if it does not -
#has_left_mouse? : Bool
Will return true if the entity has an component
Oid::Components::LeftMouse
or false if it does not -
#left_mouse : Oid::Components::LeftMouse
Will return the component that is a
Oid::Components::LeftMouse
or raise - #left_mouse=(value : Bool)
-
#left_mouse? : Bool
Alias.
-
#remove_component_left_mouse
Append.
-
#remove_left_mouse
Append.
-
#replace_component_left_mouse(component : Oid::Components::LeftMouse)
Append.
-
#replace_component_left_mouse(**args)
Will replace the current component with the new one generated from the provided arguments
-
#replace_left_mouse(component : Oid::Components::LeftMouse)
Will replace the current component with the new one provided
-
#replace_left_mouse
Will replace the current component with the new one generated from the provided arguments
Instance Method Detail
Add a Oid::Components::LeftMouse
to the entity. Returns self
to allow chainables
entity.add_component_left_mouse
Add a Oid::Components::LeftMouse
to the entity. Returns self
to allow chainables
entity.add_component_left_mouse
Add a Oid::Components::LeftMouse
to the entity. Returns self
to allow chainables
entity.add_left_mouse
Delete Oid::Components::LeftMouse
from the entity. Returns self
to allow chainables
entity.del_left_mouse
entity.left_mouse # => nil
Delete Oid::Components::LeftMouse
from the entity. Returns self
to allow chainables
entity.del_left_mouse
entity.left_mouse # => nil
Will return the component that is a Oid::Components::LeftMouse
or raise
Will return true if the entity has an component Oid::Components::LeftMouse
or false if it does not
Will return true if the entity has an component Oid::Components::LeftMouse
or false if it does not
Will return the component that is a Oid::Components::LeftMouse
or raise
Append. Alias for #replace_left_mouse
Will replace the current component with the new one generated from the provided arguments
entity.replace_left_mouse
entity.get_left_mouse # => (new_comp)
Will replace the current component with the new one provided
entity.replace_component_left_mouse(new_comp)
entity.get_left_mouse # => (new_comp)
Will replace the current component with the new one generated from the provided arguments
entity.replace_left_mouse
entity.get_left_mouse # => (new_comp)