module Oid::Components::RightMouse::Helper

Defined in:

Instance Method Summary

Instance Method Detail

def add_component_right_mouse : Entitas::Entity #

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

entity.add_component_right_mouse

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

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

entity.add_component_right_mouse

def add_right_mouse : Entitas::Entity #

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

entity.add_right_mouse

def del_component_right_mouse : Entitas::Entity #

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

entity.del_right_mouse
entity.right_mouse # => nil

def del_right_mouse : Entitas::Entity #

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

entity.del_right_mouse
entity.right_mouse # => nil

def get_component_right_mouse : Oid::Components::RightMouse #

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


def has_component_right_mouse? : Bool #

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


def has_right_mouse? : Bool #

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


def remove_component_right_mouse #

Append. Alias for #del_component_right_mouse


def remove_right_mouse #

Append. Alias for #del_right_mouse


def replace_component_right_mouse(component : Oid::Components::RightMouse) #

Append. Alias for #replace_right_mouse


def replace_component_right_mouse(**args) #

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

entity.replace_right_mouse
entity.get_right_mouse # => (new_comp)

def replace_right_mouse(component : Oid::Components::RightMouse) #

Will replace the current component with the new one provided

entity.replace_component_right_mouse(new_comp)
entity.get_right_mouse # => (new_comp)

def replace_right_mouse #

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

entity.replace_right_mouse
entity.get_right_mouse # => (new_comp)

def right_mouse : Oid::Components::RightMouse #

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


def right_mouse=(value : Bool) #

def right_mouse? : Bool #

Alias. See #has_right_mouse?