Adding Outline capabilities and a ActionableItem notion.
This commit is contained in:
parent
f7466994c5
commit
ed146226cf
18 changed files with 369 additions and 33 deletions
10
front/src/Phaser/Items/ItemFactoryInterface.ts
Normal file
10
front/src/Phaser/Items/ItemFactoryInterface.ts
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue