import { Transform2D } from '../../component/2d'; /** * Interface describing the Camera2D Follow specification */ export interface Camera2DFollow { /** The Transform2D to follow */ transform: Transform2D; /** The Camera2D Follow Rules */ rules: { /** Whether or not to follow the Entity's position - both default to true */ position: { x: boolean; y: boolean; }; /** Whether or not to follow the Entity's rotation - defaults to false */ angle: boolean; }; }