module Oid::Components::AssetLoaded::Helper

Direct including types

Defined in:

Instance Method Summary

Instance Method Detail

def add_asset_loaded : Entitas::Entity #

Add a Oid::Components::AssetLoaded to the entity. Returns self to allow chainables

entity.add_asset_loaded

def add_component_asset_loaded : Entitas::Entity #

Add a Oid::Components::AssetLoaded to the entity. Returns self to allow chainables

entity.add_component_asset_loaded

def add_component_asset_loaded(**args) : Entitas::Entity #

Add a Oid::Components::AssetLoaded to the entity. Returns self to allow chainables

entity.add_component_asset_loaded

def asset_loaded : Oid::Components::AssetLoaded #

Will return the component that is a Oid::Components::AssetLoaded or raise


def asset_loaded=(value : Bool) #

def asset_loaded? : Bool #

Alias. See #has_asset_loaded?


def del_asset_loaded : Entitas::Entity #

Delete Oid::Components::AssetLoaded from the entity. Returns self to allow chainables

entity.del_asset_loaded
entity.asset_loaded # => nil

def del_component_asset_loaded : Entitas::Entity #

Delete Oid::Components::AssetLoaded from the entity. Returns self to allow chainables

entity.del_asset_loaded
entity.asset_loaded # => nil

def get_component_asset_loaded : Oid::Components::AssetLoaded #

Will return the component that is a Oid::Components::AssetLoaded or raise


def has_asset_loaded? : Bool #

Will return true if the entity has an component Oid::Components::AssetLoaded or false if it does not


def has_component_asset_loaded? : Bool #

Will return true if the entity has an component Oid::Components::AssetLoaded or false if it does not


def remove_asset_loaded #

Append. Alias for #del_asset_loaded


def remove_component_asset_loaded #

Append. Alias for #del_component_asset_loaded


def replace_asset_loaded(component : Oid::Components::AssetLoaded) #

Will replace the current component with the new one provided

entity.replace_component_asset_loaded(new_comp)
entity.get_asset_loaded # => (new_comp)

def 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)

def replace_component_asset_loaded(component : Oid::Components::AssetLoaded) #

Append. Alias for #replace_asset_loaded


def replace_component_asset_loaded(**args) #

Will replace the current component with the new one generated from the provided arguments

entity.replace_asset_loaded
entity.get_asset_loaded # => (new_comp)