import { Pixi } from '../../alias/Pixi'; import { Motion, MotionHandler } from '../physic/MotionHandler'; import { Physic, PhysicHandler } from '../physic/PhysicHandler'; import { MouseEventHandlers, MouseHandler } from '../sprite/MouseHandler'; import { Entity } from './Entity'; import { Shape } from './Shape'; export declare type GameEngineObjectDef = Partial & { shape: Shape; movedSprite: Pixi.Container; motion?: Motion; physic?: Physic; mouseInteraction?: MouseEventHandlers; }; export declare type GameEngineObject = { id: string; shape: Shape; movedSprite: Pixi.Container; motion?: Motion; physic?: Physic; mouseInteraction?: MouseEventHandlers; }; export declare class GameEngineObjectFactory { private mouseHandler; private physicHandler; private motionHandler; constructor(mouseHandler: MouseHandler, physicHandler: PhysicHandler, motionHandler: MotionHandler); create(props: GameEngineObjectDef): GameEngineObject; }