import { ViewOptions } from './types'; import Image from '../../../misc/image/Image'; export default class View { /** * The ID of the view */ id: string; /** * The name of the view */ name: string; /** * The image of the map * @public */ image: Image; /** * The view width in the game units * @public */ width: number; /** * The view height in the game units * @public */ height: number; /** * Construct the view * @param {ViewOptions} options: the view options */ constructor(options: ViewOptions); }