mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
22 lines
457 B
TypeScript
22 lines
457 B
TypeScript
/**
|
|
* A BaseTransform class that you can use when extending Game Objects.
|
|
* Hides away the 'private' stuff and exposes only the useful getters and setters
|
|
*
|
|
* @class
|
|
*/
|
|
export default class BaseTransform {
|
|
transform: any;
|
|
constructor(x: any, y: any);
|
|
x: any;
|
|
y: any;
|
|
scale: any;
|
|
scaleX: any;
|
|
scaleY: any;
|
|
anchor: any;
|
|
anchorX: any;
|
|
anchorY: any;
|
|
pivotX: any;
|
|
pivotY: any;
|
|
angle: any;
|
|
rotation: any;
|
|
}
|