2d-physics-engine
Version:
A lightweight, flexible 2D physics engine with ECS architecture, built with TypeScript
11 lines • 473 B
TypeScript
import { Entity } from '../core/Entity';
import { InputManager } from '../core/InputManager';
import { Component } from './Component.abstract';
export declare class Controller extends Component {
private readonly inputManager;
private readonly moveForce;
readonly componentId: symbol;
constructor(inputManager: InputManager, moveForce: number);
update(_deltaTime: number, parentEntity: Entity): void;
}
//# sourceMappingURL=Controller.component.d.ts.map