Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DynamicEntityComponent

By default, all entities are static and can not move, thus have a fixed tile assigned on the map. If an entity has this component, he will not get placed on a fixed tile and instead is able to move freely. Used by @see Enemy

Hierarchy

Index

Constructors

constructor

Methods

deserialize

  • deserialize(data: any): any

getDebugString

  • getDebugString(): string

serialize

  • serialize(): object

Static getCachedSchema

  • getCachedSchema(): any

Static getId

  • getId(): string
  • Returns string

Static getSchema

  • getSchema(): object

Static verify

  • verify(data: any): string