2013-10-25 15:54:40 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2015-03-23 23:46:30 +00:00
|
|
|
<title>Phaser Source: src/gameobjects/components/Events.js</title>
|
2013-10-25 15:54:40 +00:00
|
|
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
|
|
<![endif]-->
|
2014-11-15 20:01:46 +00:00
|
|
|
|
|
|
|
<link type="text/css" rel="stylesheet" href="styles/default.css">
|
|
|
|
|
2013-10-25 15:54:40 +00:00
|
|
|
<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
|
|
|
|
|
|
|
|
|
|
|
|
<link type="text/css" rel="stylesheet" href="styles/site.cerulean.css">
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2014-11-25 00:23:44 +00:00
|
|
|
|
2013-10-25 15:54:40 +00:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="navbar navbar-fixed-top navbar-inverse">
|
2014-11-25 00:23:44 +00:00
|
|
|
<div style="position: absolute; width: 143px; height: 31px; right: 10px; top: 10px; z-index: 1050"><a href="http://phaser.io"><img src="img/phaser.png" border="0" /></a></div>
|
2013-10-25 15:54:40 +00:00
|
|
|
<div class="navbar-inner">
|
2014-11-25 00:23:44 +00:00
|
|
|
<a class="brand" href="index.html">Phaser API</a>
|
2013-10-25 15:54:40 +00:00
|
|
|
<ul class="nav">
|
2014-11-25 00:23:44 +00:00
|
|
|
|
2013-10-25 15:54:40 +00:00
|
|
|
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b
|
|
|
|
class="caret"></b></a>
|
|
|
|
|
|
|
|
<ul class="dropdown-menu ">
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-0">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.html">Phaser</a>
|
|
|
|
</li>
|
|
|
|
|
2014-11-15 20:01:46 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="PIXI.html">PIXI</a>
|
|
|
|
</li>
|
|
|
|
|
2013-10-25 15:54:40 +00:00
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b
|
|
|
|
class="caret"></b></a>
|
|
|
|
|
|
|
|
<ul class="dropdown-menu ">
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="EarCut.html">EarCut</a>
|
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="Event.html">Event</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="EventTarget.html">EventTarget</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Animation.html">Animation</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.AnimationManager.html">AnimationManager</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.AnimationParser.html">AnimationParser</a>
|
|
|
|
</li>
|
|
|
|
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.ArraySet.html">ArraySet</a>
|
|
|
|
</li>
|
|
|
|
|
2014-11-15 20:01:46 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.ArrayUtils.html">ArrayUtils</a>
|
|
|
|
</li>
|
|
|
|
|
2014-10-09 15:12:53 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.AudioSprite.html">AudioSprite</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-11-28 15:57:09 +00:00
|
|
|
<a href="Phaser.BitmapData.html">BitmapData</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.BitmapText.html">BitmapText</a>
|
|
|
|
</li>
|
|
|
|
|
2016-06-17 00:11:24 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.Bullet.html">Bullet</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Button.html">Button</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Cache.html">Cache</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Camera.html">Camera</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Canvas.html">Canvas</a>
|
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.CanvasPool.html">CanvasPool</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Circle.html">Circle</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Color.html">Color</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.Angle.html">Angle</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.Animation.html">Animation</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.AutoCull.html">AutoCull</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.Bounds.html">Bounds</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.BringToTop.html">BringToTop</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.Core.html">Core</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.Crop.html">Crop</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.Delta.html">Delta</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.Destroy.html">Destroy</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.FixedToCamera.html">FixedToCamera</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.Health.html">Health</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.InCamera.html">InCamera</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.InputEnabled.html">InputEnabled</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.InWorld.html">InWorld</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.LifeSpan.html">LifeSpan</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.LoadTexture.html">LoadTexture</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.Overlap.html">Overlap</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.PhysicsBody.html">PhysicsBody</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.Reset.html">Reset</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.ScaleMinMax.html">ScaleMinMax</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Component.Smoothed.html">Smoothed</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.Create.html">Create</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.Creature.html">Creature</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Device.html">Device</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.DeviceButton.html">DeviceButton</a>
|
|
|
|
</li>
|
|
|
|
|
2014-11-15 20:01:46 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.DOM.html">DOM</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Easing.html">Easing</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Easing.Back.html">Back</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Easing.Bounce.html">Bounce</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Easing.Circular.html">Circular</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Easing.Cubic.html">Cubic</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Easing.Elastic.html">Elastic</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Easing.Exponential.html">Exponential</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Easing.Linear.html">Linear</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Easing.Quadratic.html">Quadratic</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Easing.Quartic.html">Quartic</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Easing.Quintic.html">Quintic</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Easing.Sinusoidal.html">Sinusoidal</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2014-02-18 03:01:51 +00:00
|
|
|
<a href="Phaser.Ellipse.html">Ellipse</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Events.html">Events</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-11-28 15:57:09 +00:00
|
|
|
<a href="Phaser.Filter.html">Filter</a>
|
|
|
|
</li>
|
|
|
|
|
2014-09-09 14:36:56 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.FlexGrid.html">FlexGrid</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.FlexLayer.html">FlexLayer</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Frame.html">Frame</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.FrameData.html">FrameData</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Game.html">Game</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2014-02-21 15:37:26 +00:00
|
|
|
<a href="Phaser.GameObjectCreator.html">GameObjectCreator</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.GameObjectFactory.html">GameObjectFactory</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2014-02-05 06:29:17 +00:00
|
|
|
<a href="Phaser.Gamepad.html">Gamepad</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Graphics.html">Graphics</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Group.html">Group</a>
|
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.Hermite.html">Hermite</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2014-02-08 07:24:22 +00:00
|
|
|
<a href="Phaser.Image.html">Image</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.ImageCollection.html">ImageCollection</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Input.html">Input</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.InputHandler.html">InputHandler</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Key.html">Key</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Keyboard.html">Keyboard</a>
|
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.KeyCode.html">KeyCode</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2014-02-05 06:29:17 +00:00
|
|
|
<a href="Phaser.Line.html">Line</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.LinkedList.html">LinkedList</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Loader.html">Loader</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.LoaderParser.html">LoaderParser</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Math.html">Math</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.Matrix.html">Matrix</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Mouse.html">Mouse</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.MSPointer.html">MSPointer</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Net.html">Net</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.Particle.html">Particle</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Particles.html">Particles</a>
|
|
|
|
</li>
|
|
|
|
|
2014-10-09 15:12:53 +00:00
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Particles.Arcade.html">Arcade</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Particles.Arcade.Emitter.html">Emitter</a>
|
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.Path.html">Path</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.PathFollower.html">PathFollower</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.PathPoint.html">PathPoint</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Physics.html">Physics</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-2">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Physics.Arcade.html">Arcade</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.Arcade.Body.html">Body</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-3">
|
2015-08-24 14:43:45 +00:00
|
|
|
<a href="Phaser.Physics.Arcade.TilemapCollision.html">TilemapCollision</a>
|
2015-03-23 23:46:30 +00:00
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-2">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.Ninja.html">Ninja</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.Ninja.AABB.html">AABB</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.Ninja.Body.html">Body</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.Ninja.Circle.html">Circle</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.Ninja.Tile.html">Tile</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-2">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.html">P2</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.Body.html">Body</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.BodyDebug.html">BodyDebug</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.CollisionGroup.html">CollisionGroup</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.ContactMaterial.html">ContactMaterial</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.DistanceConstraint.html">DistanceConstraint</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-11 12:09:28 +00:00
|
|
|
<li class="class-depth-3">
|
|
|
|
<a href="Phaser.Physics.P2.FixtureList.html">FixtureList</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.GearConstraint.html">GearConstraint</a>
|
2014-02-21 15:37:26 +00:00
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.InversePointProxy.html">InversePointProxy</a>
|
2014-02-21 15:37:26 +00:00
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.LockConstraint.html">LockConstraint</a>
|
2014-02-21 15:37:26 +00:00
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.Material.html">Material</a>
|
2014-02-21 15:37:26 +00:00
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.PointProxy.html">PointProxy</a>
|
2014-02-21 15:37:26 +00:00
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.PrismaticConstraint.html">PrismaticConstraint</a>
|
2014-02-21 15:37:26 +00:00
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.RevoluteConstraint.html">RevoluteConstraint</a>
|
2014-02-21 15:37:26 +00:00
|
|
|
</li>
|
|
|
|
|
2014-09-09 14:36:56 +00:00
|
|
|
<li class="class-depth-3">
|
|
|
|
<a href="Phaser.Physics.P2.RotationalSpring.html">RotationalSpring</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-3">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.Physics.P2.Spring.html">Spring</a>
|
2014-02-21 15:37:26 +00:00
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Plugin.html">Plugin</a>
|
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="Phaser.Plugin.PathManager.html">PathManager</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.PluginManager.html">PluginManager</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Point.html">Point</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Pointer.html">Pointer</a>
|
|
|
|
</li>
|
|
|
|
|
2015-10-15 11:06:38 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.PointerMode.html">PointerMode</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-11-07 06:10:15 +00:00
|
|
|
<a href="Phaser.Polygon.html">Polygon</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.QuadTree.html">QuadTree</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.RandomDataGenerator.html">RandomDataGenerator</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Rectangle.html">Rectangle</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.RenderTexture.html">RenderTexture</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.RequestAnimationFrame.html">RequestAnimationFrame</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.RetroFont.html">RetroFont</a>
|
|
|
|
</li>
|
|
|
|
|
2014-09-09 14:36:56 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.Rope.html">Rope</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.RoundedRectangle.html">RoundedRectangle</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2014-03-14 06:36:05 +00:00
|
|
|
<a href="Phaser.ScaleManager.html">ScaleManager</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Signal.html">Signal</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-11 12:09:28 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.SignalBinding.html">SignalBinding</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2014-02-05 06:29:17 +00:00
|
|
|
<a href="Phaser.SinglePad.html">SinglePad</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Sound.html">Sound</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.SoundManager.html">SoundManager</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Sprite.html">Sprite</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2014-02-18 03:01:51 +00:00
|
|
|
<a href="Phaser.SpriteBatch.html">SpriteBatch</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Stage.html">Stage</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.State.html">State</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.StateManager.html">StateManager</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Text.html">Text</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-11-28 15:57:09 +00:00
|
|
|
<a href="Phaser.Tile.html">Tile</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-11-28 15:57:09 +00:00
|
|
|
<a href="Phaser.Tilemap.html">Tilemap</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-11-28 15:57:09 +00:00
|
|
|
<a href="Phaser.TilemapLayer.html">TilemapLayer</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-11-28 15:57:09 +00:00
|
|
|
<a href="Phaser.TilemapParser.html">TilemapParser</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-11-28 15:57:09 +00:00
|
|
|
<a href="Phaser.Tileset.html">Tileset</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.TileSprite.html">TileSprite</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Time.html">Time</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-11-28 15:57:09 +00:00
|
|
|
<a href="Phaser.Timer.html">Timer</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2014-02-05 06:29:17 +00:00
|
|
|
<a href="Phaser.TimerEvent.html">TimerEvent</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Touch.html">Touch</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Tween.html">Tween</a>
|
|
|
|
</li>
|
|
|
|
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.TweenData.html">TweenData</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.TweenManager.html">TweenManager</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Utils.html">Utils</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-2">
|
2013-10-25 15:54:40 +00:00
|
|
|
<a href="Phaser.Utils.Debug.html">Debug</a>
|
|
|
|
</li>
|
|
|
|
|
2014-04-10 22:13:43 +00:00
|
|
|
<li class="class-depth-1">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="Phaser.Video.html">Video</a>
|
2013-10-25 15:54:40 +00:00
|
|
|
</li>
|
|
|
|
|
2016-06-17 00:11:24 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="Phaser.Weapon.html">Weapon</a>
|
|
|
|
</li>
|
|
|
|
|
2014-11-15 20:01:46 +00:00
|
|
|
<li class="class-depth-1">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="Phaser.World.html">World</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="PIXI.BaseTexture.html">BaseTexture</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="PIXI.CanvasBuffer.html">CanvasBuffer</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="PIXI.CanvasGraphics.html">CanvasGraphics</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="PIXI.CanvasMaskManager.html">CanvasMaskManager</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="PIXI.CanvasRenderer.html">CanvasRenderer</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="PIXI.CanvasTinter.html">CanvasTinter</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="PIXI.ComplexPrimitiveShader.html">ComplexPrimitiveShader</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="PIXI.DisplayObjectContainer.html">DisplayObjectContainer</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="PIXI.FilterTexture.html">FilterTexture</a>
|
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="PIXI.Phaser.GraphicsData.html">Phaser.GraphicsData</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="PIXI.PIXI.html">PIXI</a>
|
|
|
|
</li>
|
|
|
|
|
2016-07-01 15:57:13 +00:00
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="PIXI.PIXI.DisplayObject.html">DisplayObject</a>
|
|
|
|
</li>
|
|
|
|
|
2014-11-15 20:01:46 +00:00
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="PIXI.PixiFastShader.html">PixiFastShader</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
|
|
|
<a href="PIXI.PixiShader.html">PixiShader</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
2015-03-23 23:46:30 +00:00
|
|
|
<a href="PIXI.PrimitiveShader.html">PrimitiveShader</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
2015-03-23 23:46:30 +00:00
|
|
|
<a href="PIXI.Sprite.html">Sprite</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
2015-03-23 23:46:30 +00:00
|
|
|
<a href="PIXI.StripShader.html">StripShader</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
2015-03-23 23:46:30 +00:00
|
|
|
<a href="PIXI.Texture.html">Texture</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1">
|
2015-03-23 23:46:30 +00:00
|
|
|
<a href="PIXI.WebGLBlendModeManager.html">WebGLBlendModeManager</a>
|
2014-11-25 00:23:44 +00:00
|
|
|
</li>
|
|
|
|
|
2014-11-15 20:01:46 +00:00
|
|
|
<li class="class-depth-1">
|
2015-03-23 23:46:30 +00:00
|
|
|
<a href="PIXI.WebGLFastSpriteBatch.html">WebGLFastSpriteBatch</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
2015-03-23 23:46:30 +00:00
|
|
|
<a href="PIXI.WebGLFilterManager.html">WebGLFilterManager</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-1">
|
2015-03-23 23:46:30 +00:00
|
|
|
<a href="PIXI.WebGLRenderer.html">WebGLRenderer</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b
|
|
|
|
class="caret"></b></a>
|
|
|
|
|
|
|
|
<ul class="dropdown-menu ">
|
|
|
|
|
2016-06-03 17:48:34 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#ANGLE_DOWN">ANGLE_DOWN</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#ANGLE_LEFT">ANGLE_LEFT</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#ANGLE_NORTH_EAST">ANGLE_NORTH_EAST</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#ANGLE_NORTH_WEST">ANGLE_NORTH_WEST</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#ANGLE_RIGHT">ANGLE_RIGHT</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#ANGLE_SOUTH_EAST">ANGLE_SOUTH_EAST</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#ANGLE_SOUTH_WEST">ANGLE_SOUTH_WEST</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#ANGLE_UP">ANGLE_UP</a>
|
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#arc">arc</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#AUTO">AUTO</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#beginFill">beginFill</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#bezierCurveTo">bezierCurveTo</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#BITMAPDATA">BITMAPDATA</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#BITMAPTEXT">BITMAPTEXT</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#blendModes">blendModes</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2016-06-17 00:11:24 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#BOTTOM_CENTER">BOTTOM_CENTER</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#BOTTOM_LEFT">BOTTOM_LEFT</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#BOTTOM_RIGHT">BOTTOM_RIGHT</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#BUTTON">BUTTON</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#CANVAS">CANVAS</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#CANVAS_FILTER">CANVAS_FILTER</a>
|
|
|
|
</li>
|
|
|
|
|
2016-06-17 00:11:24 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#CENTER">CENTER</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#CIRCLE">CIRCLE</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#clear">clear</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#CREATURE">CREATURE</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#destroyCachedSprite">destroyCachedSprite</a>
|
|
|
|
</li>
|
|
|
|
|
2016-06-09 16:13:31 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#displayList">displayList</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#DOWN">DOWN</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#drawCircle">drawCircle</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#drawEllipse">drawEllipse</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#drawPolygon">drawPolygon</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#drawRect">drawRect</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#drawRoundedRect">drawRoundedRect</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#drawShape">drawShape</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#ELLIPSE">ELLIPSE</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#emit">emit</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#EMITTER">EMITTER</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#endFill">endFill</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#GAMES">GAMES</a>
|
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#generateTexture">generateTexture</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#getBounds">getBounds</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#getLocalBounds">getLocalBounds</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#GRAPHICS">GRAPHICS</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#GROUP">GROUP</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#HEADLESS">HEADLESS</a>
|
|
|
|
</li>
|
|
|
|
|
2016-06-09 16:13:31 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#HORIZONTAL">HORIZONTAL</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#IMAGE">IMAGE</a>
|
|
|
|
</li>
|
|
|
|
|
2016-06-09 16:13:31 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#LANDSCAPE">LANDSCAPE</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#LEFT">LEFT</a>
|
|
|
|
</li>
|
|
|
|
|
2016-06-17 00:11:24 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#LEFT_BOTTOM">LEFT_BOTTOM</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#LEFT_CENTER">LEFT_CENTER</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#LEFT_TOP">LEFT_TOP</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#LINE">LINE</a>
|
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#lineStyle">lineStyle</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#lineTo">lineTo</a>
|
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#listeners">listeners</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#MATRIX">MATRIX</a>
|
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#mixin">mixin</a>
|
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#moveTo">moveTo</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#NONE">NONE</a>
|
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#off">off</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#on">on</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#once">once</a>
|
|
|
|
</li>
|
|
|
|
|
2016-02-08 17:01:36 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#PENDING_ATLAS">PENDING_ATLAS</a>
|
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-2">
|
|
|
|
<a href="global.html#Phaser.Path#numPointsreturn%257Bnumber%257DThetotalnumberofPathPointsinthisPath.">Phaser.Path#numPoints
|
|
|
|
return {number} The total number of PathPoints in this Path.</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#POINT">POINT</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#POINTER">POINTER</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#POLYGON">POLYGON</a>
|
|
|
|
</li>
|
|
|
|
|
2016-06-09 16:13:31 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#PORTRAIT">PORTRAIT</a>
|
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#quadraticCurveTo">quadraticCurveTo</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#RECTANGLE">RECTANGLE</a>
|
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#removeAllListeners">removeAllListeners</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#RENDERTEXTURE">RENDERTEXTURE</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#RETROFONT">RETROFONT</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#RIGHT">RIGHT</a>
|
|
|
|
</li>
|
|
|
|
|
2016-06-17 00:11:24 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#RIGHT_BOTTOM">RIGHT_BOTTOM</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#RIGHT_CENTER">RIGHT_CENTER</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#RIGHT_TOP">RIGHT_TOP</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#ROPE">ROPE</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#ROUNDEDRECTANGLE">ROUNDEDRECTANGLE</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#scaleModes">scaleModes</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#SPRITE">SPRITE</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#SPRITEBATCH">SPRITEBATCH</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#stopImmediatePropagation">stopImmediatePropagation</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#stopPropagation">stopPropagation</a>
|
|
|
|
</li>
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-0">
|
2015-07-22 14:31:30 +00:00
|
|
|
<a href="global.html#TEXT">TEXT</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#TILEMAP">TILEMAP</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#TILEMAPLAYER">TILEMAPLAYER</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#TILESPRITE">TILESPRITE</a>
|
|
|
|
</li>
|
|
|
|
|
2016-06-17 00:11:24 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#TOP_CENTER">TOP_CENTER</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#TOP_LEFT">TOP_LEFT</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#TOP_RIGHT">TOP_RIGHT</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#UP">UP</a>
|
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#updateLocalBounds">updateLocalBounds</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#VERSION">VERSION</a>
|
|
|
|
</li>
|
|
|
|
|
2016-06-09 16:13:31 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#VERTICAL">VERTICAL</a>
|
|
|
|
</li>
|
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#VIDEO">VIDEO</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#WEBGL">WEBGL</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#WEBGL_FILTER">WEBGL_FILTER</a>
|
2014-11-15 20:01:46 +00:00
|
|
|
</li>
|
|
|
|
|
2016-11-23 00:59:32 +00:00
|
|
|
<li class="class-depth-0">
|
|
|
|
<a href="global.html#WEBGL_MULTI">WEBGL_MULTI</a>
|
|
|
|
</li>
|
|
|
|
|
2013-10-25 15:54:40 +00:00
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
2014-11-25 00:23:44 +00:00
|
|
|
|
2014-11-15 20:01:46 +00:00
|
|
|
<li class="dropdown">
|
2014-11-25 00:23:44 +00:00
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Core<b class="caret"></b></a>
|
|
|
|
<ul class="dropdown-menu ">
|
2014-12-03 10:39:11 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Game.html">Game</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Group.html">Group</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.World.html">World</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Loader.html">Loader</a></li>
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Cache.html">Cache</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Time.html">Time</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Camera.html">Camera</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.StateManager.html">State Manager</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.TweenManager.html">Tween Manager</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.SoundManager.html">Sound Manager</a></li>
|
2015-01-06 06:57:25 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Input.html">Input Manager</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.ScaleManager.html">Scale Manager</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2014-11-15 20:01:46 +00:00
|
|
|
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Game Objects<b class="caret"></b></a>
|
2014-11-15 20:01:46 +00:00
|
|
|
<ul class="dropdown-menu ">
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.GameObjectFactory.html">Factory (game.add)</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.GameObjectCreator.html">Creator (game.make)</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Sprite.html">Sprite</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Image.html">Image</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Sound.html">Sound</a></li>
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Video.html">Video</a></li>
|
2015-01-06 06:57:25 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Particles.Arcade.Emitter.html">Particle Emitter</a></li>
|
2014-12-03 10:39:11 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Particle.html">Particle</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Text.html">Text</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Tween.html">Tween</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.BitmapText.html">BitmapText</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Tilemap.html">Tilemap</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.BitmapData.html">BitmapData</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.RetroFont.html">RetroFont</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Button.html">Button</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Animation.html">Animation</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Graphics.html">Graphics</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.RenderTexture.html">RenderTexture</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.TileSprite.html">TileSprite</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Geometry<b class="caret"></b></a>
|
|
|
|
<ul class="dropdown-menu ">
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Circle.html">Circle</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Ellipse.html">Ellipse</a></li>
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Line.html">Line</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Matrix.html">Matrix</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Point.html">Point</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Polygon.html">Polygon</a></li>
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Rectangle.html">Rectangle</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.RoundedRectangle.html">Rounded Rectangle</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2014-11-15 20:01:46 +00:00
|
|
|
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Physics<b class="caret"></b></a>
|
|
|
|
<ul class="dropdown-menu ">
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Physics.Arcade.html">Arcade Physics</a></li>
|
|
|
|
<li class="class-depth-2"><a href="Phaser.Physics.Arcade.Body.html">Body</a></li>
|
2016-06-17 00:11:24 +00:00
|
|
|
<li class="class-depth-2"><a href="Phaser.Weapon.html">Weapon</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Physics.P2.html">P2 Physics</a></li>
|
|
|
|
<li class="class-depth-2"><a href="Phaser.Physics.P2.Body.html">Body</a></li>
|
|
|
|
<li class="class-depth-2"><a href="Phaser.Physics.P2.Spring.html">Spring</a></li>
|
|
|
|
<li class="class-depth-2"><a href="Phaser.Physics.P2.CollisionGroup.html">CollisionGroup</a></li>
|
|
|
|
<li class="class-depth-2"><a href="Phaser.Physics.P2.ContactMaterial.html">ContactMaterial</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Physics.Ninja.html">Ninja Physics</a></li>
|
|
|
|
<li class="class-depth-2"><a href="Phaser.Physics.Body.html">Body</a></li>
|
2014-11-15 20:01:46 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2014-11-25 00:23:44 +00:00
|
|
|
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Input<b class="caret"></b></a>
|
|
|
|
<ul class="dropdown-menu ">
|
|
|
|
<li class="class-depth-1"><a href="Phaser.InputHandler.html">Input Handler</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Pointer.html">Pointer</a></li>
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.DeviceButton.html">Device Button</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Mouse.html">Mouse</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Keyboard.html">Keyboard</a></li>
|
|
|
|
<li class="class-depth-1"><a href="Phaser.Key.html">Key</a></li>
|
2016-08-26 00:18:47 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.KeyCode.html">Key Codes</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1"><a href="Phaser.Gamepad.html">Gamepad</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Community<b class="caret"></b></a>
|
|
|
|
<ul class="dropdown-menu ">
|
2015-03-26 02:55:18 +00:00
|
|
|
<li class="class-depth-1"><a href="http://phaser.io">Phaser Web Site</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1"><a href="https://github.com/photonstorm/phaser">Phaser Github</a></li>
|
2015-03-26 02:55:18 +00:00
|
|
|
<li class="class-depth-1"><a href="http://phaser.io/examples">Phaser Examples</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
<li class="class-depth-1"><a href="https://github.com/photonstorm/phaser-plugins">Phaser Plugins</a></li>
|
|
|
|
<li class="class-depth-1"><a href="http://www.html5gamedevs.com/forum/14-phaser/">Forum</a></li>
|
|
|
|
<li class="class-depth-1"><a href="http://stackoverflow.com/questions/tagged/phaser-framework">Stack Overflow</a></li>
|
2015-07-22 14:31:30 +00:00
|
|
|
<li class="class-depth-1"><a href="http://phaser.io/learn">Tutorials</a></li>
|
2016-05-19 11:36:51 +00:00
|
|
|
<li class="class-depth-1"><a href="http://phaser.io/community/newsletter">Newsletter</a></li>
|
2015-03-26 02:55:18 +00:00
|
|
|
<li class="class-depth-1"><a href="http://phaser.io/community/twitter">Twitter</a></li>
|
2016-06-17 00:11:24 +00:00
|
|
|
<li class="class-depth-1"><a href="http://phaser.io/community/slack">Slack</a></li>
|
|
|
|
<li class="class-depth-1"><a href="http://phaser.io/community/donate">Donate</a></li>
|
2015-03-23 23:46:30 +00:00
|
|
|
<li class="class-depth-1"><a href="https://www.codeandweb.com/texturepacker/phaser">Texture Packer</a></li>
|
2014-11-25 00:23:44 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
2013-10-25 15:54:40 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="span12">
|
|
|
|
|
|
|
|
<div id="main">
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-23 23:46:30 +00:00
|
|
|
<h1 class="page-title">Source: src/gameobjects/components/Events.js</h1>
|
2013-10-25 15:54:40 +00:00
|
|
|
|
|
|
|
<section>
|
|
|
|
<article>
|
|
|
|
<pre class="sunlight-highlight-javascript linenums">/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2016-04-22 14:15:28 +00:00
|
|
|
* @copyright 2016 Photon Storm Ltd.
|
2013-10-25 15:54:40 +00:00
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* The Events component is a collection of events fired by the parent Game Object.
|
2016-05-19 11:36:51 +00:00
|
|
|
*
|
|
|
|
* Phaser uses what are known as 'Signals' for all event handling. All of the events in
|
|
|
|
* this class are signals you can subscribe to, much in the same way you'd "listen" for
|
|
|
|
* an event.
|
2013-11-28 15:57:09 +00:00
|
|
|
*
|
2016-05-19 11:36:51 +00:00
|
|
|
* For example to tell when a Sprite has been added to a new group, you can bind a function
|
|
|
|
* to the `onAddedToGroup` signal:
|
2013-11-28 15:57:09 +00:00
|
|
|
*
|
2014-03-14 06:36:05 +00:00
|
|
|
* `sprite.events.onAddedToGroup.add(yourFunction, this);`
|
2013-11-28 15:57:09 +00:00
|
|
|
*
|
|
|
|
* Where `yourFunction` is the function you want called when this event occurs.
|
2016-05-19 11:36:51 +00:00
|
|
|
*
|
|
|
|
* For more details about how signals work please see the Phaser.Signal class.
|
2013-11-28 15:57:09 +00:00
|
|
|
*
|
2014-12-03 10:39:11 +00:00
|
|
|
* The Input-related events will only be dispatched if the Sprite has had `inputEnabled` set to `true`
|
|
|
|
* and the Animation-related events only apply to game objects with animations like {@link Phaser.Sprite}.
|
2013-11-28 15:57:09 +00:00
|
|
|
*
|
2014-10-09 15:12:53 +00:00
|
|
|
* @class Phaser.Events
|
2013-10-25 15:54:40 +00:00
|
|
|
* @constructor
|
2014-12-03 10:39:11 +00:00
|
|
|
* @param {Phaser.Sprite} sprite - A reference to the game object / Sprite that owns this Events object.
|
2013-10-25 15:54:40 +00:00
|
|
|
*/
|
|
|
|
Phaser.Events = function (sprite) {
|
2014-03-28 01:42:49 +00:00
|
|
|
|
2014-09-09 14:36:56 +00:00
|
|
|
/**
|
|
|
|
* @property {Phaser.Sprite} parent - The Sprite that owns these events.
|
|
|
|
*/
|
2013-11-28 15:57:09 +00:00
|
|
|
this.parent = sprite;
|
2014-02-05 06:29:17 +00:00
|
|
|
|
2014-12-03 10:39:11 +00:00
|
|
|
// The signals are automatically added by the corresponding proxy properties
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
Phaser.Events.prototype = {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Removes all events.
|
|
|
|
*
|
|
|
|
* @method Phaser.Events#destroy
|
|
|
|
*/
|
|
|
|
destroy: function () {
|
|
|
|
|
|
|
|
this._parent = null;
|
|
|
|
|
|
|
|
if (this._onDestroy) { this._onDestroy.dispose(); }
|
|
|
|
if (this._onAddedToGroup) { this._onAddedToGroup.dispose(); }
|
|
|
|
if (this._onRemovedFromGroup) { this._onRemovedFromGroup.dispose(); }
|
|
|
|
if (this._onRemovedFromWorld) { this._onRemovedFromWorld.dispose(); }
|
|
|
|
if (this._onKilled) { this._onKilled.dispose(); }
|
|
|
|
if (this._onRevived) { this._onRevived.dispose(); }
|
2015-01-06 06:57:25 +00:00
|
|
|
if (this._onEnterBounds) { this._onEnterBounds.dispose(); }
|
2014-12-03 10:39:11 +00:00
|
|
|
if (this._onOutOfBounds) { this._onOutOfBounds.dispose(); }
|
|
|
|
|
|
|
|
if (this._onInputOver) { this._onInputOver.dispose(); }
|
|
|
|
if (this._onInputOut) { this._onInputOut.dispose(); }
|
|
|
|
if (this._onInputDown) { this._onInputDown.dispose(); }
|
|
|
|
if (this._onInputUp) { this._onInputUp.dispose(); }
|
|
|
|
if (this._onDragStart) { this._onDragStart.dispose(); }
|
2015-07-22 14:31:30 +00:00
|
|
|
if (this._onDragUpdate) { this._onDragUpdate.dispose(); }
|
2014-12-03 10:39:11 +00:00
|
|
|
if (this._onDragStop) { this._onDragStop.dispose(); }
|
|
|
|
|
|
|
|
if (this._onAnimationStart) { this._onAnimationStart.dispose(); }
|
|
|
|
if (this._onAnimationComplete) { this._onAnimationComplete.dispose(); }
|
|
|
|
if (this._onAnimationLoop) { this._onAnimationLoop.dispose(); }
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// The following properties are sentinels that will be replaced with getters
|
|
|
|
|
2014-09-09 14:36:56 +00:00
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched when this Game Object is added to a new Group.
|
|
|
|
* It is sent two arguments:
|
|
|
|
* {any} The Game Object that was added to the Group.
|
|
|
|
* {Phaser.Group} The Group it was added to.
|
|
|
|
* @property {Phaser.Signal} onAddedToGroup
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onAddedToGroup: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched when the Game Object is removed from a Group.
|
|
|
|
* It is sent two arguments:
|
|
|
|
* {any} The Game Object that was removed from the Group.
|
|
|
|
* {Phaser.Group} The Group it was removed from.
|
|
|
|
* @property {Phaser.Signal} onRemovedFromGroup
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onRemovedFromGroup: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
2014-11-15 20:01:46 +00:00
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This Signal is never used internally by Phaser and is now deprecated.
|
|
|
|
* @deprecated
|
|
|
|
* @property {Phaser.Signal} onRemovedFromWorld
|
2014-11-15 20:01:46 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onRemovedFromWorld: null,
|
2014-11-15 20:01:46 +00:00
|
|
|
|
2014-09-09 14:36:56 +00:00
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched when the Game Object is destroyed.
|
|
|
|
* This happens when `Sprite.destroy()` is called, or `Group.destroy()` with `destroyChildren` set to true.
|
|
|
|
* It is sent one argument:
|
|
|
|
* {any} The Game Object that was destroyed.
|
|
|
|
* @property {Phaser.Signal} onDestroy
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onDestroy: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched when the Game Object is killed.
|
|
|
|
* This happens when `Sprite.kill()` is called.
|
|
|
|
* Please understand the difference between `kill` and `destroy` by looking at their respective methods.
|
|
|
|
* It is sent one argument:
|
|
|
|
* {any} The Game Object that was killed.
|
|
|
|
* @property {Phaser.Signal} onKilled
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onKilled: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched when the Game Object is revived from a previously killed state.
|
|
|
|
* This happens when `Sprite.revive()` is called.
|
|
|
|
* It is sent one argument:
|
|
|
|
* {any} The Game Object that was revived.
|
|
|
|
* @property {Phaser.Signal} onRevived
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onRevived: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched when the Game Object leaves the Phaser.World bounds.
|
|
|
|
* This signal is only if `Sprite.checkWorldBounds` is set to `true`.
|
|
|
|
* It is sent one argument:
|
|
|
|
* {any} The Game Object that left the World bounds.
|
|
|
|
* @property {Phaser.Signal} onOutOfBounds
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onOutOfBounds: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched when the Game Object returns within the Phaser.World bounds, having previously been outside of them.
|
|
|
|
* This signal is only if `Sprite.checkWorldBounds` is set to `true`.
|
|
|
|
* It is sent one argument:
|
|
|
|
* {any} The Game Object that entered the World bounds.
|
|
|
|
* @property {Phaser.Signal} onEnterBounds
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onEnterBounds: null,
|
2013-10-25 15:54:40 +00:00
|
|
|
|
2014-09-09 14:36:56 +00:00
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched if the Game Object has `inputEnabled` set to `true`,
|
|
|
|
* and receives an over event from a Phaser.Pointer.
|
|
|
|
* It is sent two arguments:
|
|
|
|
* {any} The Game Object that received the event.
|
|
|
|
* {Phaser.Pointer} The Phaser.Pointer object that caused the event.
|
|
|
|
* @property {Phaser.Signal} onInputOver
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onInputOver: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched if the Game Object has `inputEnabled` set to `true`,
|
|
|
|
* and receives an out event from a Phaser.Pointer, which was previously over it.
|
|
|
|
* It is sent two arguments:
|
|
|
|
* {any} The Game Object that received the event.
|
|
|
|
* {Phaser.Pointer} The Phaser.Pointer object that caused the event.
|
|
|
|
* @property {Phaser.Signal} onInputOut
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onInputOut: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched if the Game Object has `inputEnabled` set to `true`,
|
|
|
|
* and receives a down event from a Phaser.Pointer. This effectively means the Pointer has been
|
|
|
|
* pressed down (but not yet released) on the Game Object.
|
|
|
|
* It is sent two arguments:
|
|
|
|
* {any} The Game Object that received the event.
|
|
|
|
* {Phaser.Pointer} The Phaser.Pointer object that caused the event.
|
|
|
|
* @property {Phaser.Signal} onInputDown
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onInputDown: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched if the Game Object has `inputEnabled` set to `true`,
|
|
|
|
* and receives an up event from a Phaser.Pointer. This effectively means the Pointer had been
|
|
|
|
* pressed down, and was then released on the Game Object.
|
|
|
|
* It is sent three arguments:
|
|
|
|
* {any} The Game Object that received the event.
|
|
|
|
* {Phaser.Pointer} The Phaser.Pointer object that caused the event.
|
|
|
|
* {boolean} isOver - Is the Pointer still over the Game Object?
|
|
|
|
* @property {Phaser.Signal} onInputUp
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onInputUp: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched if the Game Object has been `inputEnabled` and `enableDrag` has been set.
|
|
|
|
* It is sent when a Phaser.Pointer starts to drag the Game Object, taking into consideration the various
|
|
|
|
* drag limitations that may be set.
|
|
|
|
* It is sent four arguments:
|
|
|
|
* {any} The Game Object that received the event.
|
|
|
|
* {Phaser.Pointer} The Phaser.Pointer object that caused the event.
|
|
|
|
* {number} The x coordinate that the drag started from.
|
|
|
|
* {number} The y coordinate that the drag started from.
|
|
|
|
* @property {Phaser.Signal} onDragStart
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onDragStart: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
2015-07-22 14:31:30 +00:00
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched if the Game Object has been `inputEnabled` and `enableDrag` has been set.
|
|
|
|
* It is sent when a Phaser.Pointer is actively dragging the Game Object.
|
|
|
|
* Be warned: This is a high volume Signal. Be careful what you bind to it.
|
|
|
|
* It is sent six arguments:
|
|
|
|
* {any} The Game Object that received the event.
|
|
|
|
* {Phaser.Pointer} The Phaser.Pointer object that caused the event.
|
|
|
|
* {number} The new x coordinate of the Game Object.
|
|
|
|
* {number} The new y coordinate of the Game Object.
|
|
|
|
* {Phaser.Point} A Point object that contains the point the Game Object was snapped to, if `snapOnDrag` has been enabled.
|
|
|
|
* {boolean} The `fromStart` boolean, indicates if this is the first update immediately after the drag has started.
|
|
|
|
* @property {Phaser.Signal} onDragUpdate
|
2015-07-22 14:31:30 +00:00
|
|
|
*/
|
|
|
|
onDragUpdate: null,
|
|
|
|
|
2014-09-09 14:36:56 +00:00
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched if the Game Object has been `inputEnabled` and `enableDrag` has been set.
|
|
|
|
* It is sent when a Phaser.Pointer stops dragging the Game Object.
|
|
|
|
* It is sent two arguments:
|
|
|
|
* {any} The Game Object that received the event.
|
|
|
|
* {Phaser.Pointer} The Phaser.Pointer object that caused the event.
|
|
|
|
* @property {Phaser.Signal} onDragStop
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onDragStop: null,
|
2013-10-25 15:54:40 +00:00
|
|
|
|
2014-09-09 14:36:56 +00:00
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched if the Game Object has the AnimationManager component,
|
|
|
|
* and an Animation has been played.
|
|
|
|
* You can also listen to `Animation.onStart` rather than via the Game Objects events.
|
|
|
|
* It is sent two arguments:
|
|
|
|
* {any} The Game Object that received the event.
|
|
|
|
* {Phaser.Animation} The Phaser.Animation that was started.
|
|
|
|
* @property {Phaser.Signal} onAnimationStart
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onAnimationStart: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched if the Game Object has the AnimationManager component,
|
|
|
|
* and an Animation has been stopped (via `animation.stop()` and the `dispatchComplete` argument has been set.
|
|
|
|
* You can also listen to `Animation.onComplete` rather than via the Game Objects events.
|
|
|
|
* It is sent two arguments:
|
|
|
|
* {any} The Game Object that received the event.
|
|
|
|
* {Phaser.Animation} The Phaser.Animation that was stopped.
|
|
|
|
* @property {Phaser.Signal} onAnimationComplete
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onAnimationComplete: null,
|
2014-09-09 14:36:56 +00:00
|
|
|
|
|
|
|
/**
|
2016-07-08 14:46:26 +00:00
|
|
|
* This signal is dispatched if the Game Object has the AnimationManager component,
|
|
|
|
* and an Animation has looped playback.
|
|
|
|
* You can also listen to `Animation.onLoop` rather than via the Game Objects events.
|
|
|
|
* It is sent two arguments:
|
|
|
|
* {any} The Game Object that received the event.
|
|
|
|
* {Phaser.Animation} The Phaser.Animation that looped.
|
|
|
|
* @property {Phaser.Signal} onAnimationLoop
|
2014-09-09 14:36:56 +00:00
|
|
|
*/
|
2014-12-03 10:39:11 +00:00
|
|
|
onAnimationLoop: null
|
2013-10-25 15:54:40 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
2014-12-03 10:39:11 +00:00
|
|
|
Phaser.Events.prototype.constructor = Phaser.Events;
|
2013-11-28 15:57:09 +00:00
|
|
|
|
2014-12-03 10:39:11 +00:00
|
|
|
// Create an auto-create proxy getter and dispatch method for all events.
|
|
|
|
// The backing property is the same as the event name, prefixed with '_'
|
|
|
|
// and the dispatch method is the same as the event name postfixed with '$dispatch'.
|
|
|
|
for (var prop in Phaser.Events.prototype)
|
|
|
|
{
|
|
|
|
if (!Phaser.Events.prototype.hasOwnProperty(prop) ||
|
|
|
|
prop.indexOf('on') !== 0 ||
|
|
|
|
Phaser.Events.prototype[prop] !== null)
|
|
|
|
{
|
|
|
|
continue;
|
2013-11-28 15:57:09 +00:00
|
|
|
}
|
2013-10-25 15:54:40 +00:00
|
|
|
|
2015-01-06 06:57:25 +00:00
|
|
|
(function (prop, backing) {
|
|
|
|
'use strict';
|
2014-02-05 06:29:17 +00:00
|
|
|
|
2015-01-06 06:57:25 +00:00
|
|
|
// The accessor creates a new Signal; and so it should only be used from user-code.
|
|
|
|
Object.defineProperty(Phaser.Events.prototype, prop, {
|
|
|
|
get: function () {
|
|
|
|
return this[backing] || (this[backing] = new Phaser.Signal());
|
|
|
|
}
|
|
|
|
});
|
2014-12-03 10:39:11 +00:00
|
|
|
|
2015-01-06 06:57:25 +00:00
|
|
|
// The dispatcher will only broadcast on an already-created signal; call this internally.
|
|
|
|
Phaser.Events.prototype[prop + '$dispatch'] = function () {
|
|
|
|
return this[backing] ? this[backing].dispatch.apply(this[backing], arguments) : null;
|
|
|
|
};
|
2014-12-03 10:39:11 +00:00
|
|
|
|
2015-01-06 06:57:25 +00:00
|
|
|
})(prop, '_' + prop);
|
2014-12-03 10:39:11 +00:00
|
|
|
|
|
|
|
}
|
2014-02-05 06:29:17 +00:00
|
|
|
</pre>
|
2013-10-25 15:54:40 +00:00
|
|
|
</article>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<footer>
|
|
|
|
|
|
|
|
|
|
|
|
<span class="copyright">
|
2016-04-22 14:15:28 +00:00
|
|
|
Phaser Copyright © 2012-2016 Photon Storm Ltd.
|
2013-10-25 15:54:40 +00:00
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<span class="jsdoc-message">
|
2016-11-23 00:59:32 +00:00
|
|
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a>
|
|
|
|
on Wed Nov 23 2016 00:49:20 GMT+0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
2013-10-25 15:54:40 +00:00
|
|
|
</span>
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<br clear="both">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<script src="scripts/sunlight.js"></script>
|
|
|
|
<script src="scripts/sunlight.javascript.js"></script>
|
|
|
|
<script src="scripts/sunlight-plugin.doclinks.js"></script>
|
|
|
|
<script src="scripts/sunlight-plugin.linenumbers.js"></script>
|
|
|
|
<script src="scripts/sunlight-plugin.menu.js"></script>
|
|
|
|
<script src="scripts/jquery.min.js"></script>
|
|
|
|
<script src="scripts/jquery.scrollTo.js"></script>
|
|
|
|
<script src="scripts/jquery.localScroll.js"></script>
|
|
|
|
<script src="scripts/bootstrap-dropdown.js"></script>
|
|
|
|
<script src="scripts/toc.js"></script>
|
|
|
|
|
|
|
|
<script> Sunlight.highlightAll({lineNumbers:true, showMenu: true, enableDoclinks :true}); </script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
$( function () {
|
|
|
|
$( "#toc" ).toc( {
|
2014-04-10 22:13:43 +00:00
|
|
|
anchorName : function(i, heading, prefix) {
|
2014-03-14 06:36:05 +00:00
|
|
|
return $(heading).attr("id") || ( prefix + i );
|
|
|
|
},
|
2013-10-25 15:54:40 +00:00
|
|
|
selectors : "h1,h2,h3,h4",
|
|
|
|
showAndHide : false,
|
|
|
|
scrollTo : 60
|
|
|
|
} );
|
|
|
|
$( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" );
|
|
|
|
$( "#main span[id^='toc']" ).addClass( "toc-shim" );
|
|
|
|
|
|
|
|
} );
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|