module Oid::Components::CameraTarget::Helper
Direct including types
Defined in:
Instance Method Summary
-
#add_camera_target : Entitas::Entity
Add a
Oid::Components::CameraTarget
to the entity. -
#add_component_camera_target : Entitas::Entity
Add a
Oid::Components::CameraTarget
to the entity. -
#add_component_camera_target(**args) : Entitas::Entity
Add a
Oid::Components::CameraTarget
to the entity. -
#camera_target : Oid::Components::CameraTarget
Will return the component that is a
Oid::Components::CameraTarget
or raise - #camera_target=(value : Bool)
-
#camera_target? : Bool
Alias.
-
#del_camera_target : Entitas::Entity
Delete
Oid::Components::CameraTarget
from the entity. -
#del_component_camera_target : Entitas::Entity
Delete
Oid::Components::CameraTarget
from the entity. -
#get_component_camera_target : Oid::Components::CameraTarget
Will return the component that is a
Oid::Components::CameraTarget
or raise -
#has_camera_target? : Bool
Will return true if the entity has an component
Oid::Components::CameraTarget
or false if it does not -
#has_component_camera_target? : Bool
Will return true if the entity has an component
Oid::Components::CameraTarget
or false if it does not -
#remove_camera_target
Append.
-
#remove_component_camera_target
Append.
-
#replace_camera_target(component : Oid::Components::CameraTarget)
Will replace the current component with the new one provided
-
#replace_camera_target
Will replace the current component with the new one generated from the provided arguments
-
#replace_component_camera_target(component : Oid::Components::CameraTarget)
Append.
-
#replace_component_camera_target(**args)
Will replace the current component with the new one generated from the provided arguments
Instance Method Detail
Add a Oid::Components::CameraTarget
to the entity. Returns self
to allow chainables
entity.add_camera_target
Add a Oid::Components::CameraTarget
to the entity. Returns self
to allow chainables
entity.add_component_camera_target
Add a Oid::Components::CameraTarget
to the entity. Returns self
to allow chainables
entity.add_component_camera_target
Will return the component that is a Oid::Components::CameraTarget
or raise
Delete Oid::Components::CameraTarget
from the entity. Returns self
to allow chainables
entity.del_camera_target
entity.camera_target # => nil
Delete Oid::Components::CameraTarget
from the entity. Returns self
to allow chainables
entity.del_camera_target
entity.camera_target # => nil
Will return the component that is a Oid::Components::CameraTarget
or raise
Will return true if the entity has an component Oid::Components::CameraTarget
or false if it does not
Will return true if the entity has an component Oid::Components::CameraTarget
or false if it does not
Will replace the current component with the new one provided
entity.replace_component_camera_target(new_comp)
entity.get_camera_target # => (new_comp)
Will replace the current component with the new one generated from the provided arguments
entity.replace_camera_target
entity.get_camera_target # => (new_comp)
Append. Alias for #replace_camera_target
Will replace the current component with the new one generated from the provided arguments
entity.replace_camera_target
entity.get_camera_target # => (new_comp)