Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DemoSpriteAnimation

Nikola Lukic

Sprite Animation tutorial

This is game logic part we stil use class based methodology. About resource we use require I use images from add-element folder. This is demo but for real release this is bad praticle.

Hierarchy

  • DemoSpriteAnimation

Index

Constructors

constructor

Properties

gameName

gameName: string = "Demo 1 - Add sprite object"

playerCategory

playerCategory: number = 2

starter

starter: Starter

staticCategory

staticCategory: number = 4

version

version: number = 1

Methods

addGround

  • addGround(): void

attachAppEvents

  • attachAppEvents(): void

createMySprite

  • createMySprite(spriteOptions: any): void

Protected destroyGamePlayPlatformer

  • destroyGamePlayPlatformer(): void

Generated using TypeDoc