phaser/src/physics/arcade/const.js

108 lines
1.8 KiB
JavaScript
Raw Normal View History

2018-02-12 16:01:20 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
2018-03-30 13:24:18 +00:00
/**
* Arcade Physics consts.
2018-03-30 13:38:58 +00:00
*
* @ignore
2018-03-30 13:24:18 +00:00
*/
2018-03-30 13:38:58 +00:00
var CONST = {
2017-11-06 04:50:07 +00:00
/**
2018-02-09 03:44:23 +00:00
* [description]
*
* @name Phaser.Physics.Arcade.DYNAMIC_BODY
2018-03-30 13:24:18 +00:00
* @readOnly
2018-02-09 03:44:23 +00:00
* @type {number}
* @since 3.0.0
*/
DYNAMIC_BODY: 0,
2018-02-09 03:44:23 +00:00
/**
* [description]
*
* @name Phaser.Physics.Arcade.STATIC_BODY
2018-03-30 13:24:18 +00:00
* @readOnly
2018-02-09 03:44:23 +00:00
* @type {number}
* @since 3.0.0
*/
STATIC_BODY: 1,
/**
* [description]
*
* @name Phaser.Physics.Arcade.GROUP
2018-03-30 13:24:18 +00:00
* @readOnly
2018-02-09 03:44:23 +00:00
* @type {number}
* @since 3.0.0
*/
GROUP: 2,
/**
* [description]
*
* @name Phaser.Physics.Arcade.TILEMAPLAYER
2018-03-30 13:24:18 +00:00
* @readOnly
2018-02-09 03:44:23 +00:00
* @type {number}
* @since 3.0.0
*/
TILEMAPLAYER: 3,
/**
* [description]
*
* @name Phaser.Physics.Arcade.FACING_NONE
2018-03-30 13:24:18 +00:00
* @readOnly
2018-02-09 03:44:23 +00:00
* @type {number}
* @since 3.0.0
*/
FACING_NONE: 10,
2018-02-09 03:44:23 +00:00
/**
* [description]
*
* @name Phaser.Physics.Arcade.FACING_UP
2018-03-30 13:24:18 +00:00
* @readOnly
2018-02-09 03:44:23 +00:00
* @type {number}
* @since 3.0.0
*/
FACING_UP: 11,
2018-02-09 03:44:23 +00:00
/**
* [description]
*
* @name Phaser.Physics.Arcade.FACING_DOWN
2018-03-30 13:24:18 +00:00
* @readOnly
2018-02-09 03:44:23 +00:00
* @type {number}
* @since 3.0.0
*/
FACING_DOWN: 12,
2018-02-09 03:44:23 +00:00
/**
* [description]
*
* @name Phaser.Physics.Arcade.FACING_LEFT
2018-03-30 13:24:18 +00:00
* @readOnly
2018-02-09 03:44:23 +00:00
* @type {number}
* @since 3.0.0
*/
FACING_LEFT: 13,
2018-02-09 03:44:23 +00:00
/**
* [description]
*
* @name Phaser.Physics.Arcade.FACING_RIGHT
2018-03-30 13:24:18 +00:00
* @readOnly
2018-02-09 03:44:23 +00:00
* @type {number}
* @since 3.0.0
*/
FACING_RIGHT: 14
2017-11-06 04:50:07 +00:00
};
2018-03-30 13:38:58 +00:00
module.exports = CONST;