create layer

This commit is contained in:
Chunkybanana 2022-12-23 08:27:28 +00:00
parent 64394c7f7c
commit 5572abb7bb

View 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
}
})