From 620b95e51019adc186f2ae54e516f07619562333 Mon Sep 17 00:00:00 2001 From: photonstorm Date: Sat, 23 Apr 2016 04:36:35 +0100 Subject: [PATCH] Updated docs and TS defs re: #2443 --- README.md | 3 +-- typescript/phaser.d.ts | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7de1466be..bdd1ea607 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/typescript/phaser.d.ts b/typescript/phaser.d.ts index 7925a8e7c..663e9dd5e 100644 --- a/typescript/phaser.d.ts +++ b/typescript/phaser.d.ts @@ -1,7 +1,7 @@ /// /// -// 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;