mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Updated docs and TS defs re: #2443
This commit is contained in:
parent
74d52dd327
commit
620b95e510
2 changed files with 3 additions and 3 deletions
|
@ -347,8 +347,7 @@ You can read all about the philosophy behind Lazer [here](http://phaser.io/news/
|
|||
|
||||
* TypeScript definitions fixes and updates (thanks )
|
||||
* Docs typo fixes (thanks )
|
||||
*
|
||||
*
|
||||
* You can now access the intensity of the Camera shake effect via the getter / setter `Camera.shakeIntensity`. Useful if you wish to tween the intensity while running. (thanks @drhayes #2443)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
|
|
3
typescript/phaser.d.ts
vendored
3
typescript/phaser.d.ts
vendored
|
@ -1,7 +1,7 @@
|
|||
/// <reference path="pixi.d.ts" />
|
||||
/// <reference path="p2.d.ts" />
|
||||
|
||||
// Type definitions for Phaser 2.4.7 - 22nd April 2016
|
||||
// Type definitions for Phaser 2.4.8 - 22nd April 2016
|
||||
// Project: https://github.com/photonstorm/phaser
|
||||
|
||||
declare module "phaser" {
|
||||
|
@ -597,6 +597,7 @@ declare module Phaser {
|
|||
position: Phaser.Point;
|
||||
roundPx: boolean;
|
||||
scale: Phaser.Point;
|
||||
shakeIntensity: number;
|
||||
onFadeComplete: Phaser.Signal;
|
||||
onFlashComplete: Phaser.Signal;
|
||||
onShakeComplete: Phaser.Signal;
|
||||
|
|
Loading…
Reference in a new issue