There was an error while loading. Please reload this page.
1 parent dac7cbf commit 48cd858Copy full SHA for 48cd858
src/index.js
@@ -0,0 +1,5 @@
1
+// @flow
2
+
3
+class Adventure {
4
+ init() {}
5
+}
src/interfaces.js
@@ -0,0 +1,20 @@
+export type Verb = "PUSH" | "PULL" | "OPEN" | "CLOSE";
+export interface Room {
6
+ id: string;
7
+ name: string;
8
+ items: Item[];
9
10
11
+export interface Actor {
12
13
14
15
16
+export interface Item {
17
18
19
+ verbs: Map<Verb, () => void>;
20
0 commit comments