Options
All
  • Public
  • Public/Protected
  • All
Menu

User Json

Hierarchy

  • UserJson

Index

Constructors

constructor

  • Parameters

    Returns UserJson

Properties

cache

cache: boolean = false

Cache json in phaser cache

json

json: any = undefined

The json

onLoadCompleted

onLoadCompleted: Signal = new Phaser.Signal()

Event that is called when loading is completed. First param passed is this, and the second param is success true|false

onRemoveCompleted

onRemoveCompleted: Signal = new Phaser.Signal()

Event that is called when remove is completed. First param passed is this, and the second param is success true|false

onSaveCompleted

onSaveCompleted: Signal = new Phaser.Signal()

Event that is called when saving is completed. First param passed is this, and the second param is success true|false

Accessors

fileInfo

  • Return file info for this image

    Returns IFileInfo

Methods

load

  • load(): void
  • Load json

    Returns void

remove

  • remove(): void
  • Remove json

    Returns void

removeFromCache

  • removeFromCache(): void
  • Remove json from Phaser cache

    Returns void

save

  • save(): void
  • Save json

    Returns void