Skip to main content

EntityBlueprint

Classes

EntityBlueprint

Template for instantiating entities

Functions

populateJsonTemplate(template, [seed])

EntityBlueprint

Template for instantiating entities

Kind: global class

entityBlueprint.add(component)

Kind: instance method of EntityBlueprint

ParamType
componentObject

entityBlueprint.addJSON(klass, json)

Kind: instance method of EntityBlueprint

ParamType
klassClass.<T>
jsonObject

entityBlueprint.fromJSON(json, registry)

Kind: instance method of EntityBlueprint

ParamType
jsonObject
registryModuleRegistry

entityBlueprint.build([templateSeed]) ⇒ Entity

Kind: instance method of EntityBlueprint

ParamType
[templateSeed]object

EntityBlueprint.from(components) ⇒ EntityBlueprint

Kind: static method of EntityBlueprint

ParamType
componentsArray

EntityBlueprint.fromJSON(json, registry)

Kind: static method of EntityBlueprint

ParamType
jsonObject
registryModuleRegistry

populateJsonTemplate(template, [seed])

Kind: global function

ParamType
templateObject
[seed]Object