Skip to content

Commit 4c116c0

Browse files
committed
Put Fixed and Smoothed aliases back in for now
1 parent f6167f6 commit 4c116c0

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

src/cameras/controls/index.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,26 @@
1010

1111
module.exports = {
1212

13+
/**
14+
* This alias will be removed in a future version.
15+
* Use `FixedKeyControl` instead.
16+
*
17+
* @deprecated
18+
* @name Phaser.Cameras.Controls.Fixed
19+
*/
20+
Fixed: require('./FixedKeyControl'),
21+
1322
FixedKeyControl: require('./FixedKeyControl'),
23+
24+
/**
25+
* This alias will be removed in a future version.
26+
* Use `SmoothedKeyControl` instead.
27+
*
28+
* @deprecated
29+
* @name Phaser.Cameras.Controls.Smoothed
30+
*/
31+
Smoothed: require('./SmoothedKeyControl'),
32+
1433
SmoothedKeyControl: require('./SmoothedKeyControl')
1534

1635
};

0 commit comments

Comments
 (0)