mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 16:13:57 +00:00
create layer
This commit is contained in:
parent
64394c7f7c
commit
5572abb7bb
1 changed files with 17 additions and 0 deletions
17
src/data/layers/credits.tsx
Normal file
17
src/data/layers/credits.tsx
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
import { jsx } from "features/feature";
|
||||||
|
import { createLayer } from "game/layers"
|
||||||
|
|
||||||
|
const id = "credits"
|
||||||
|
const day = 25;
|
||||||
|
const name = "Credits"
|
||||||
|
const credits = createLayer(id, () => {
|
||||||
|
|
||||||
|
return {
|
||||||
|
display: jsx(() =>
|
||||||
|
<div>
|
||||||
|
TODO: layer
|
||||||
|
</div>),
|
||||||
|
name,
|
||||||
|
day
|
||||||
|
}
|
||||||
|
})
|
Loading…
Reference in a new issue