module Oid::Components::MouseWheel::Helper
Defined in:
Instance Method Summary
-
#add_component_mouse_wheel : Entitas::Entity
Add a
Oid::Components::MouseWheel
to the entity. -
#add_component_mouse_wheel(**args) : Entitas::Entity
Add a
Oid::Components::MouseWheel
to the entity. -
#add_mouse_wheel(move : Float64) : Entitas::Entity
Add a
Oid::Components::MouseWheel
to the entity. -
#del_component_mouse_wheel : Entitas::Entity
Delete
Oid::Components::MouseWheel
from the entity. -
#del_mouse_wheel : Entitas::Entity
Delete
Oid::Components::MouseWheel
from the entity. -
#get_component_mouse_wheel : Oid::Components::MouseWheel
Will return the component that is a
Oid::Components::MouseWheel
or raise -
#has_component_mouse_wheel? : Bool
Will return true if the entity has an component
Oid::Components::MouseWheel
or false if it does not -
#has_mouse_wheel? : Bool
Will return true if the entity has an component
Oid::Components::MouseWheel
or false if it does not -
#mouse_wheel : Oid::Components::MouseWheel
Will return the component that is a
Oid::Components::MouseWheel
or raise -
#mouse_wheel? : Bool
Alias.
-
#remove_component_mouse_wheel
Append.
-
#remove_mouse_wheel
Append.
-
#replace_component_mouse_wheel(component : Oid::Components::MouseWheel)
Append.
-
#replace_component_mouse_wheel(**args)
Will replace the current component with the new one generated from the provided arguments
-
#replace_mouse_wheel(move : Float64)
Will replace the current component with the new one generated from the provided arguments
-
#replace_mouse_wheel(component : Oid::Components::MouseWheel)
Will replace the current component with the new one provided
Instance Method Detail
Add a Oid::Components::MouseWheel
to the entity. Returns self
to allow chainables
entity.add_component_mouse_wheel
Add a Oid::Components::MouseWheel
to the entity. Returns self
to allow chainables
entity.add_component_mouse_wheel
Add a Oid::Components::MouseWheel
to the entity. Returns self
to allow chainables
entity.add_mouse_wheel(1)
Delete Oid::Components::MouseWheel
from the entity. Returns self
to allow chainables
entity.del_mouse_wheel
entity.mouse_wheel # => nil
Delete Oid::Components::MouseWheel
from the entity. Returns self
to allow chainables
entity.del_mouse_wheel
entity.mouse_wheel # => nil
Will return the component that is a Oid::Components::MouseWheel
or raise
Will return true if the entity has an component Oid::Components::MouseWheel
or false if it does not
Will return true if the entity has an component Oid::Components::MouseWheel
or false if it does not
Will return the component that is a Oid::Components::MouseWheel
or raise
Append. Alias for #replace_mouse_wheel
Will replace the current component with the new one generated from the provided arguments
entity.replace_mouse_wheel
entity.get_mouse_wheel # => (new_comp)
Will replace the current component with the new one generated from the provided arguments
entity.replace_mouse_wheel(value: 1)
entity.get_mouse_wheel # => (new_comp)
or
entity.replace_mouse_wheel(1)
entity.get_mouse_wheel # => (new_comp)
Will replace the current component with the new one provided
entity.replace_component_mouse_wheel(new_comp)
entity.get_mouse_wheel # => (new_comp)