Class: ScreenObject

me. ScreenObject

new ScreenObject()

A class skeleton for "Screen" Object
every "screen" object (title screen, credits, ingame, etc...) to be managed
through the state manager must inherit from this base class.
Source:
state.js, line 21
See:

Extends

Methods

<static> onDestroyEvent()

onDestroyEvent function
called by the state manager before switching to another state
Source:
state.js, line 62

<static> onResetEvent()

onResetEvent function
called by the state manager when reseting the object
this is typically where you will load a level, etc... to be extended
Parameters:
Name Type Argument Description
arguments... <optional>
optional arguments passed when switching state
Source:
state.js, line 47
See:
  • me.state#change
Copyright © 2011 - 2017, Olivier Biot, Jason Oster, Aaron McLeod
Documentation generated by JSDoc 3.4.0 on 2017-02-28T11:37:41+08:00 using the DocStrap template modified by codename-.