class Oid::Components::ViewElement

Overview

Check to see if the component is a sub-class of ::Entitas::Component

Defined in:

oid/components/stage.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.is_unique? : Bool #

If the component has the unique annotation, set the class method to true The framework will make sure that only one instance of a unique component can be present in your context Will return true if the class is a unique component for a context


Instance Method Detail

def is_unique? : Bool #

If the component has the unique annotation, set the class method to true The framework will make sure that only one instance of a unique component can be present in your context Will return true if the class is a unique component for a context


def origin : Oid::Enum::OriginType #

[View source]
def origin=(origin : Oid::Enum::OriginType) #

def origin? : Bool #

[View source]
def value : Oid::Element #

[View source]
def value=(value : Oid::Element | Nil) #

def value? : Bool #

[View source]