Class

io.scalajs.dom.html.phaser

Plugin

Related Doc: package phaser

Permalink

class Plugin extends Object

This is a base Plugin template to use for any Phaser plugin development.

Annotations
@RawJSType() @native() @JSName( "Phaser.Plugin" )
See also

http://phaser.io/docs/2.6.2/Phaser.Plugin.html

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Plugin
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Plugin(game: Phaser.Game, parent: Phaser.PluginManager)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var active: Boolean

    Permalink

    A Plugin with active=true has its preUpdate and update methods called by the parent, otherwise they are skipped.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def destroy(): Unit

    Permalink

    Clear down this Plugin and null out references

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. var game: Phaser.Game

    Permalink
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  14. var hasPostRender: Boolean

    Permalink

    A flag to indicate if this plugin has a postRender method.

  15. var hasPostUpdate: Boolean

    Permalink

    A flag to indicate if this plugin has a postUpdate method.

  16. var hasPreUpdate: Boolean

    Permalink

    A flag to indicate if this plugin has a preUpdate method.

  17. var hasRender: Boolean

    Permalink

    A flag to indicate if this plugin has a render method.

  18. var hasUpdate: Boolean

    Permalink

    A flag to indicate if this plugin has an update method.

  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. val parent: Phaser.PluginManager

    Permalink
  26. def postRender(): Unit

    Permalink

    Post-render is called after the Game Renderer and State.render have run.

    Post-render is called after the Game Renderer and State.render have run. It is only called if visible is set to true.

  27. def preUpdate(): Unit

    Permalink

    Pre-update is called at the very start of the update cycle, before any other subsystems have been updated (including Physics).

    Pre-update is called at the very start of the update cycle, before any other subsystems have been updated (including Physics). It is only called if active is set to true.

  28. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  29. def render(): Unit

    Permalink

    Render is called right after the Game Renderer completes, but before the State.render.

    Render is called right after the Game Renderer completes, but before the State.render. It is only called if visible is set to true.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. def update(): Unit

    Permalink

    Update is called after all the core subsystems (Input, Tweens, Sound, etc) and the State have updated, but before the render.

    Update is called after all the core subsystems (Input, Tweens, Sound, etc) and the State have updated, but before the render. It is only called if active is set to true.

  34. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  35. var visible: Boolean

    Permalink

    A Plugin with visible=true has its render and postRender methods called by the parent, otherwise they are skipped.

  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped