Class: TTilemapComponent
Defined in: components/tilemap-component.ts:24
A component is a data structure that describes a property of an entity.
Extends
Constructors
Constructor
new TTilemapComponent(
tilemap,tilesets):TTilemapComponent
Defined in: components/tilemap-component.ts:27
Parameters
tilemap
tilesets
Returns
TTilemapComponent
Overrides
Properties
tilemap
tilemap:
TTilemap
Defined in: components/tilemap-component.ts:28
tilesets
tilesets:
object={}
Defined in: components/tilemap-component.ts:25
Index Signature
[key: number]: TTileset
requiredComponents?
readonlystaticoptionalrequiredComponents?:TComponentConstructor<TComponent>[]
Defined in: core/component.ts:9
The components that are required by this component. If the entity doesn't have any of the components, they will be created with default values.