Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TestScene

Hierarchy

Index

Constructors

constructor

Properties

add

add: GameObjectFactory

A scene level Game Object Factory. This property will only be available if defined in the Scene Injection Map.

anims

anims: AnimationManager

A reference to the global Animation Manager. This property will only be available if defined in the Scene Injection Map.

battleMonitor

battleMonitor: BattleMonitor

cache

cache: CacheManager

A reference to the global Cache. This property will only be available if defined in the Scene Injection Map.

cameras

cameras: CameraManager

A scene level Camera System. This property will only be available if defined in the Scene Injection Map.

children

children: DisplayList

A scene level Game Object Display List. This property will only be available if defined in the Scene Injection Map.

commonGroup

commonGroup: Group

currProgress

currProgress: number = 0

data

data: DataManager

A scene level Data Manager Plugin. This property will only be available if defined in the Scene Injection Map and the plugin is installed.

enemyGroup

enemyGroup: Group

enemyTargetingObjectGroup

enemyTargetingObjectGroup: Group

events

events: EventEmitter

A scene level Event Emitter. This property will only be available if defined in the Scene Injection Map.

everyoneTargetingObjectGroup

everyoneTargetingObjectGroup: Group

facebook

facebook: FacebookInstantGamesPlugin

A scene level Facebook Instant Games Plugin. This property will only be available if defined in the Scene Injection Map, the plugin is installed and configured.

fxGroup

fxGroup: Group

game

game: Game

A reference to the Phaser.Game instance. This property will only be available if defined in the Scene Injection Map.

girl

girl: Mob

h

h: Mob

hc

hc: number = 0.5

hcM

hcM: number = 0.5

height

height: number

input

input: InputPlugin

A scene level Input Manager Plugin. This property will only be available if defined in the Scene Injection Map and the plugin is installed.

lights

lights: LightsManager

A scene level Lights Manager Plugin. This property will only be available if defined in the Scene Injection Map and the plugin is installed.

load

load: LoaderPlugin

A scene level Loader Plugin. This property will only be available if defined in the Scene Injection Map and the plugin is installed.

loadingScreen

loadingScreen: Rectangle

make

make: GameObjectCreator

A scene level Game Object Creator. This property will only be available if defined in the Scene Injection Map.

map

map: Tilemap

mapReady

mapReady: boolean

mapToLoad

mapToLoad: string

matter

matter: MatterPhysics

A scene level Matter Physics Plugin. This property will only be available if defined in the Scene Injection Map, the plugin is installed and configured.

pBar

physics

physics: ArcadePhysics

A scene level Arcade Physics Plugin. This property will only be available if defined in the Scene Injection Map, the plugin is installed and configured.

playerGroup

playerGroup: Group

playerTargetingObjectGroup

playerTargetingObjectGroup: Group

plugins

plugins: PluginManager

A reference to the Plugin Manager.

The Plugin Manager is a global system that allows plugins to register themselves with it, and can then install those plugins into Scenes as required.

registry

registry: DataManager

A reference to the game level Data Manager. This property will only be available if defined in the Scene Injection Map.

scale

scale: ScaleManager

A reference to the global Scale Manager. This property will only be available if defined in the Scene Injection Map.

scene

scene: ScenePlugin

A reference to the Scene Manager Plugin. This property will only be available if defined in the Scene Injection Map.

sound

sound: BaseSoundManager

A reference to the Sound Manager. This property will only be available if defined in the Scene Injection Map and the plugin is installed.

sys

sys: Systems

The Scene Systems. You must never overwrite this property, or all hell will break lose.

terrainLayer

terrainLayer: StaticTilemapLayer

textures

textures: TextureManager

A reference to the Texture Manager. This property will only be available if defined in the Scene Injection Map.

tiles

tiles: Tileset

tilesetImgPrefix

tilesetImgPrefix: string = "assets/tilemaps/tiles/"

time

time: Clock

A scene level Time and Clock Plugin. This property will only be available if defined in the Scene Injection Map and the plugin is installed.

tweens

tweens: TweenManager

A scene level Tween Manager Plugin. This property will only be available if defined in the Scene Injection Map and the plugin is installed.

unitMgr

unitMgr: UnitManager

width

width: number

worldGroup

worldGroup: Group

Methods

addMob

  • addMob(mob: Mob): void

create

  • create(): void

loadComplete

  • loadComplete(): void

preload

  • preload(): void

spellHitMobCallback

  • spellHitMobCallback(obj1: GameObject, obj2: GameObject): void

spellHitWorldCallback

  • spellHitWorldCallback(obj1: GameObject, obj2: GameObject): void

update

  • update(time: number, dt: number): void

updateScene

  • updateScene(time: number, dt: number): void

Generated using TypeDoc