import { Game2D } from '../../core/2d'; import { System2D } from './system.2d'; /** * Built-in concrete 2D Physics System, handling the movement of two dimensional Entities which are capable of moving * * To be eligible for movement, an Entity must have a Transform2D */ export declare class Physics2D extends System2D { /** Provide the System's name */ readonly name = "Physics2D"; /** * Concrete tick lifecycle methid implementing the Physics System's per-frame functionality * * Move every eligible Entity by their velocity, normalized using the frameDelta * * @param game the Game2D the System is running within * @param frameDelta the time between the last frame and the current, for normalizing time-dependent operations */ tick(game: Game2D, frameDelta: number): void; }