digitsensitive / phaser3-typescript

Phaser 3 and TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SmoothedKeyControlConfig missing down key property

JustinRBaker88 opened this issue · comments

I'm new to Phaser and TypeScript, but I believe I ran into an issue during development where I got a compilation error due to a missing property in the TypeScript definition of SmoothedKeyControlConfig.

I believe it should be a simple fix of adding

 /**
 * The Key to be pressed that will move the Camera down.
 */
down?: Phaser.Input.Keyboard.Key;

to line 239.