mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
41 lines
781 B
TypeScript
41 lines
781 B
TypeScript
|
/// <reference path="../Game.ts" />
|
||
|
/// <reference path="../core/Rectangle.ts" />
|
||
|
/// <reference path="PhysicsManager.ts" />
|
||
|
|
||
|
/**
|
||
|
* Phaser - Physics - IPhysicsShape
|
||
|
*/
|
||
|
|
||
|
module Phaser.Physics {
|
||
|
|
||
|
export interface IPhysicsBody {
|
||
|
|
||
|
//game: Game;
|
||
|
//world: PhysicsManager;
|
||
|
//sprite: Sprite;
|
||
|
//physics: Phaser.Components.Physics;
|
||
|
|
||
|
//position: Vec2;
|
||
|
//oldPosition: Vec2;
|
||
|
//offset: Vec2;
|
||
|
|
||
|
//bounds: Rectangle;
|
||
|
|
||
|
//setSize(width: number, height: number);
|
||
|
//preUpdate();
|
||
|
//update();
|
||
|
//render(context:CanvasRenderingContext2D);
|
||
|
|
||
|
//hullX;
|
||
|
//hullY;
|
||
|
//hullWidth;
|
||
|
//hullHeight;
|
||
|
//deltaX;
|
||
|
//deltaY;
|
||
|
//deltaXAbs;
|
||
|
//deltaYAbs;
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|