decla-red/backend/src/physics/physical-game-object.ts
2020-10-05 19:07:17 +02:00

10 lines
325 B
TypeScript

import { GameObject } from 'shared';
import { BoundingBoxBase } from './bounds/bounding-box-base';
export interface PhysicalGameObject extends GameObject {
getBoundingBox(): BoundingBoxBase;
//distance(target: vec2): number;
readonly isInverted: boolean;
readonly canCollide: boolean;
readonly canMove: boolean;
}