remove demo game

This commit is contained in:
2026-05-25 21:28:17 +02:00
parent b1ea3447a8
commit 76f910ab36
75 changed files with 115 additions and 815 deletions

10
util.timer.go Normal file
View File

@@ -0,0 +1,10 @@
package pncdsl
// Timer accumulates seconds. Tick advances it; Reset zeroes it.
type Timer struct {
Elapsed float64
}
func (t *Timer) Tick(dt float64) { t.Elapsed += dt }
func (t *Timer) Reset() { t.Elapsed = 0 }
func (t *Timer) Done(after float64) bool { return t.Elapsed >= after }