Interface defining a component. Usage:
class Health implements Component { name = "health"; amount: number; constructor(amount: number) { this.amount = amount; } }
The component name. Mostly for debugging purposes.
Generated using TypeDoc
Interface defining a component. Usage:
class Health implements Component { name = "health"; amount: number; constructor(amount: number) { this.amount = amount; } }