mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-14 01:42:22 -07:00
15 lines
193 B
Odin
15 lines
193 B
Odin
#import "punity.odin" as pn
|
|
|
|
main :: proc() {
|
|
init :: proc(c: ^pn.Core) {
|
|
}
|
|
|
|
step :: proc(c: ^pn.Core) {
|
|
if pn.key_down(pn.Key.ESCAPE) {
|
|
c.running = false
|
|
}
|
|
}
|
|
|
|
pn.run(init, step)
|
|
}
|