Adding Outline capabilities and a ActionableItem notion.

This commit is contained in:
David Négrier 2020-07-23 18:09:24 +02:00
parent f7466994c5
commit ed146226cf
18 changed files with 369 additions and 33 deletions

View file

@ -0,0 +1,10 @@
import LoaderPlugin = Phaser.Loader.LoaderPlugin;
import {GameScene} from "../Game/GameScene";
import {ITiledMapObject} from "../Map/ITiledMap";
import {ActionableItem} from "./ActionableItem";
export interface ItemFactoryInterface {
preload: (loader: LoaderPlugin) => void;
create: (scene: GameScene) => void;
factory: (scene: GameScene, object: ITiledMapObject) => ActionableItem;
}