/// /// /// /// /// /// /** * Phaser - Advanced Physics - IShape * * Based on the work Ju Hyung Lee started in JS PhyRus. */ module Phaser.Physics.Advanced { export interface IShape { id: number; type: number; elasticity: number; friction: number; density: number; body: Body; bounds: Bounds; area(): number; centroid(): Phaser.Vec2; inertia(mass: number): number; cacheData(xf:Transform); pointQuery(p: Phaser.Vec2): bool; findEdgeByPoint(p: Phaser.Vec2, minDist: number): number; findVertexByPoint(p: Phaser.Vec2, minDist: number): number; } }