module Oid::Components::MoveComplete::Helper

Direct including types

Defined in:

Instance Method Summary

Instance Method Detail

def add_component_move_complete : Entitas::Entity #

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

entity.add_component_move_complete

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

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

entity.add_component_move_complete

def add_move_complete : Entitas::Entity #

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

entity.add_move_complete

def del_component_move_complete : Entitas::Entity #

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

entity.del_move_complete
entity.move_complete # => nil

def del_move_complete : Entitas::Entity #

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

entity.del_move_complete
entity.move_complete # => nil

def get_component_move_complete : Oid::Components::MoveComplete #

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


def has_component_move_complete? : Bool #

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


def has_move_complete? : Bool #

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


def move_complete : Oid::Components::MoveComplete #

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


def move_complete=(value : Bool) #

def move_complete? : Bool #

Alias. See #has_move_complete?


def remove_component_move_complete #

Append. Alias for #del_component_move_complete


def remove_move_complete #

Append. Alias for #del_move_complete


def replace_component_move_complete(component : Oid::Components::MoveComplete) #

Append. Alias for #replace_move_complete


def replace_component_move_complete(**args) #

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

entity.replace_move_complete
entity.get_move_complete # => (new_comp)

def replace_move_complete(component : Oid::Components::MoveComplete) #

Will replace the current component with the new one provided

entity.replace_component_move_complete(new_comp)
entity.get_move_complete # => (new_comp)

def replace_move_complete #

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

entity.replace_move_complete
entity.get_move_complete # => (new_comp)