module Oid::Components::AssetLoaded::Helper
Direct including types
Defined in:
Instance Method Summary
-
#add_asset_loaded : Entitas::Entity
Add a
Oid::Components::AssetLoaded
to the entity. -
#add_component_asset_loaded : Entitas::Entity
Add a
Oid::Components::AssetLoaded
to the entity. -
#add_component_asset_loaded(**args) : Entitas::Entity
Add a
Oid::Components::AssetLoaded
to the entity. -
#asset_loaded : Oid::Components::AssetLoaded
Will return the component that is a
Oid::Components::AssetLoaded
or raise - #asset_loaded=(value : Bool)
-
#asset_loaded? : Bool
Alias.
-
#del_asset_loaded : Entitas::Entity
Delete
Oid::Components::AssetLoaded
from the entity. -
#del_component_asset_loaded : Entitas::Entity
Delete
Oid::Components::AssetLoaded
from the entity. -
#get_component_asset_loaded : Oid::Components::AssetLoaded
Will return the component that is a
Oid::Components::AssetLoaded
or raise -
#has_asset_loaded? : Bool
Will return true if the entity has an component
Oid::Components::AssetLoaded
or false if it does not -
#has_component_asset_loaded? : Bool
Will return true if the entity has an component
Oid::Components::AssetLoaded
or false if it does not -
#remove_asset_loaded
Append.
-
#remove_component_asset_loaded
Append.
-
#replace_asset_loaded(component : Oid::Components::AssetLoaded)
Will replace the current component with the new one provided
-
#replace_asset_loaded
Will replace the current component with the new one generated from the provided arguments
-
#replace_component_asset_loaded(component : Oid::Components::AssetLoaded)
Append.
-
#replace_component_asset_loaded(**args)
Will replace the current component with the new one generated from the provided arguments
Instance Method Detail
Add a Oid::Components::AssetLoaded
to the entity. Returns self
to allow chainables
entity.add_asset_loaded
Add a Oid::Components::AssetLoaded
to the entity. Returns self
to allow chainables
entity.add_component_asset_loaded
Add a Oid::Components::AssetLoaded
to the entity. Returns self
to allow chainables
entity.add_component_asset_loaded
Will return the component that is a Oid::Components::AssetLoaded
or raise
Delete Oid::Components::AssetLoaded
from the entity. Returns self
to allow chainables
entity.del_asset_loaded
entity.asset_loaded # => nil
Delete Oid::Components::AssetLoaded
from the entity. Returns self
to allow chainables
entity.del_asset_loaded
entity.asset_loaded # => nil
Will return the component that is a Oid::Components::AssetLoaded
or raise
Will return true if the entity has an component Oid::Components::AssetLoaded
or false if it does not
Will return true if the entity has an component Oid::Components::AssetLoaded
or false if it does not
Will replace the current component with the new one provided
entity.replace_component_asset_loaded(new_comp)
entity.get_asset_loaded # => (new_comp)
Will replace the current component with the new one generated from the provided arguments
entity.replace_asset_loaded
entity.get_asset_loaded # => (new_comp)
Append. Alias for #replace_asset_loaded
Will replace the current component with the new one generated from the provided arguments
entity.replace_asset_loaded
entity.get_asset_loaded # => (new_comp)