Properties
animatedSpriteName
animatedSpriteName: string
attackSpriteName
attackSpriteName: string
deathCollisionComponent
deathCollisionComponent: string = ""
dieSpriteName
dieSpriteName: string
enemyCollisionComponent
enemyCollisionComponent: string
flagCollisionComponent
flagCollisionComponent: string
groundCollisionComponent
groundCollisionComponent: string
hitSpriteName
hitSpriteName: string
idleSpriteName
idleSpriteName: string
jumpSpriteName
jumpSpriteName: string
maxVelocityX
maxVelocityX: number = 5
maxVelocityY
maxVelocityY: number = 15
playerCollisionComponent
playerCollisionComponent: string
walkSpriteName
walkSpriteName: string
Sets this classes data from a JSON object.