Interface ICompositeEntity<T>
Properties
Optional
durationInMs
durationInMs?: number
Optional
startTimeinMs
startTimeinMs?: number
Methods
update
- update(timeStamp, ctx, entity): void
Parameters
- timeStamp: number
- ctx: CanvasRenderingContext2D
- entity: any
Returns void
Interface for a CompositeEntity, which is a reusable component within a CompositeEntity.
Typeparam
T - The type of the properties object for the CompositeEntity.