module Oid::Components::MouseUp::Helper
Defined in:
Instance Method Summary
-
#add_component_mouse_up : Entitas::Entity
Add a
Oid::Components::MouseUp
to the entity. -
#add_component_mouse_up(**args) : Entitas::Entity
Add a
Oid::Components::MouseUp
to the entity. -
#add_mouse_up(position : Oid::Vector2) : Entitas::Entity
Add a
Oid::Components::MouseUp
to the entity. -
#del_component_mouse_up : Entitas::Entity
Delete
Oid::Components::MouseUp
from the entity. -
#del_mouse_up : Entitas::Entity
Delete
Oid::Components::MouseUp
from the entity. -
#get_component_mouse_up : Oid::Components::MouseUp
Will return the component that is a
Oid::Components::MouseUp
or raise -
#has_component_mouse_up? : Bool
Will return true if the entity has an component
Oid::Components::MouseUp
or false if it does not -
#has_mouse_up? : Bool
Will return true if the entity has an component
Oid::Components::MouseUp
or false if it does not -
#mouse_up : Oid::Components::MouseUp
Will return the component that is a
Oid::Components::MouseUp
or raise -
#mouse_up? : Bool
Alias.
-
#remove_component_mouse_up
Append.
-
#remove_mouse_up
Append.
-
#replace_component_mouse_up(component : Oid::Components::MouseUp)
Append.
-
#replace_component_mouse_up(**args)
Will replace the current component with the new one generated from the provided arguments
-
#replace_mouse_up(position : Oid::Vector2)
Will replace the current component with the new one generated from the provided arguments
-
#replace_mouse_up(component : Oid::Components::MouseUp)
Will replace the current component with the new one provided
Instance Method Detail
Add a Oid::Components::MouseUp
to the entity. Returns self
to allow chainables
entity.add_component_mouse_up
Add a Oid::Components::MouseUp
to the entity. Returns self
to allow chainables
entity.add_component_mouse_up
Add a Oid::Components::MouseUp
to the entity. Returns self
to allow chainables
entity.add_mouse_up(1)
Delete Oid::Components::MouseUp
from the entity. Returns self
to allow chainables
entity.del_mouse_up
entity.mouse_up # => nil
Delete Oid::Components::MouseUp
from the entity. Returns self
to allow chainables
entity.del_mouse_up
entity.mouse_up # => nil
Will return the component that is a Oid::Components::MouseUp
or raise
Will return true if the entity has an component Oid::Components::MouseUp
or false if it does not
Will return true if the entity has an component Oid::Components::MouseUp
or false if it does not
Will return the component that is a Oid::Components::MouseUp
or raise
Append. Alias for #replace_mouse_up
Will replace the current component with the new one generated from the provided arguments
entity.replace_mouse_up
entity.get_mouse_up # => (new_comp)
Will replace the current component with the new one generated from the provided arguments
entity.replace_mouse_up(value: 1)
entity.get_mouse_up # => (new_comp)
or
entity.replace_mouse_up(1)
entity.get_mouse_up # => (new_comp)
Will replace the current component with the new one provided
entity.replace_component_mouse_up(new_comp)
entity.get_mouse_up # => (new_comp)