module Oid::Components::MouseReleased::Helper
Defined in:
Instance Method Summary
-
#add_component_mouse_released : Entitas::Entity
Add a
Oid::Components::MouseReleased
to the entity. -
#add_component_mouse_released(**args) : Entitas::Entity
Add a
Oid::Components::MouseReleased
to the entity. -
#add_mouse_released(position : Oid::Vector2) : Entitas::Entity
Add a
Oid::Components::MouseReleased
to the entity. -
#del_component_mouse_released : Entitas::Entity
Delete
Oid::Components::MouseReleased
from the entity. -
#del_mouse_released : Entitas::Entity
Delete
Oid::Components::MouseReleased
from the entity. -
#get_component_mouse_released : Oid::Components::MouseReleased
Will return the component that is a
Oid::Components::MouseReleased
or raise -
#has_component_mouse_released? : Bool
Will return true if the entity has an component
Oid::Components::MouseReleased
or false if it does not -
#has_mouse_released? : Bool
Will return true if the entity has an component
Oid::Components::MouseReleased
or false if it does not -
#mouse_released : Oid::Components::MouseReleased
Will return the component that is a
Oid::Components::MouseReleased
or raise -
#mouse_released? : Bool
Alias.
-
#remove_component_mouse_released
Append.
-
#remove_mouse_released
Append.
-
#replace_component_mouse_released(component : Oid::Components::MouseReleased)
Append.
-
#replace_component_mouse_released(**args)
Will replace the current component with the new one generated from the provided arguments
-
#replace_mouse_released(position : Oid::Vector2)
Will replace the current component with the new one generated from the provided arguments
-
#replace_mouse_released(component : Oid::Components::MouseReleased)
Will replace the current component with the new one provided
Instance Method Detail
Add a Oid::Components::MouseReleased
to the entity. Returns self
to allow chainables
entity.add_component_mouse_released
Add a Oid::Components::MouseReleased
to the entity. Returns self
to allow chainables
entity.add_component_mouse_released
Add a Oid::Components::MouseReleased
to the entity. Returns self
to allow chainables
entity.add_mouse_released(1)
Delete Oid::Components::MouseReleased
from the entity. Returns self
to allow chainables
entity.del_mouse_released
entity.mouse_released # => nil
Delete Oid::Components::MouseReleased
from the entity. Returns self
to allow chainables
entity.del_mouse_released
entity.mouse_released # => nil
Will return the component that is a Oid::Components::MouseReleased
or raise
Will return true if the entity has an component Oid::Components::MouseReleased
or false if it does not
Will return true if the entity has an component Oid::Components::MouseReleased
or false if it does not
Will return the component that is a Oid::Components::MouseReleased
or raise
Append. Alias for #replace_mouse_released
Will replace the current component with the new one generated from the provided arguments
entity.replace_mouse_released
entity.get_mouse_released # => (new_comp)
Will replace the current component with the new one generated from the provided arguments
entity.replace_mouse_released(value: 1)
entity.get_mouse_released # => (new_comp)
or
entity.replace_mouse_released(1)
entity.get_mouse_released # => (new_comp)
Will replace the current component with the new one provided
entity.replace_component_mouse_released(new_comp)
entity.get_mouse_released # => (new_comp)