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