Class
IdentifiableObject
open class IdentifiableObject : Equatable
IdentifiableObject
provides base functionality for using unique
names that are useful for debugging.
Relationships
Subclasses
Director
A
Director
is responsible for managing an application and enqueuingScene
s.Layer
A
Layer
is responsible for providing subclassedRenderableEntity
objects.RenderableEntity
A
RenderableEntity
provides the majority of rendering and interactive functionality by overriding the required methods and working with theDispatcher
to register events of intrest.Scene
A
Scene
is responsible for providing the requiredLayer
s for an application.
Conforms To
Equatable
Initializers
init(name:)
public init(name:String?=nil)
Creates a new IdentifiableObject
from the specified parameters.
Parameters
Name | Type | Description |
---|---|---|
name | String? |
a non-unique name to use while generating unique name for object. |
Properties
name
public var name : String
A unique name associated with the object.
Operators
==
public static func == (left: IdentifiableObject, right: IdentifiableObject) -> Bool
Equivalence operator for two IdentifiableObject
s.