Scenes Documentation Beta

Class Identifiable​Object

open class IdentifiableObject : Equatable 

IdentifiableObject provides base functionality for using unique names that are useful for debugging.

%29 IdentifiableObject IdentifiableObject Equatable Equatable IdentifiableObject->Equatable Scene Scene Scene->IdentifiableObject RenderableEntity RenderableEntity RenderableEntity->IdentifiableObject Director Director Director->IdentifiableObject Layer Layer Layer->IdentifiableObject

Subclasses

Director

A Director is responsible for managing an application and enqueuing Scenes.

Layer

A Layer is responsible for providing subclassed RenderableEntity objects.

RenderableEntity

A RenderableEntity provides the majority of rendering and interactive functionality by overriding the required methods and working with the Dispatcher to register events of intrest.

Scene

A Scene is responsible for providing the required Layers for an application.

Conforms To

Equatable

Initializers

init(name:​)

public init(name:String?=nil) 

Creates a new IdentifiableObject from the specified parameters.

Parameters

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 IdentifiableObjects.