Skip to content

Commit d9230eb

Browse files
author
DavidQ
committed
Create initial games template structure v2
1 parent 9e74393 commit d9230eb

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

games/_template/flow/attract.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export const attractFlow = Object.freeze({
2+
id: "attract",
3+
label: "Attract"
4+
});

games/_template/flow/intro.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export const introFlow = Object.freeze({
2+
id: "intro",
3+
label: "Intro"
4+
});

games/_template/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { attractFlow } from "./flow/attract.js";
2+
import { introFlow } from "./flow/intro.js";
3+
4+
export const templateFlow = Object.freeze({
5+
attract: attractFlow,
6+
intro: introFlow
7+
});
8+
9+
export default templateFlow;

0 commit comments

Comments
 (0)