feat: quick scaffolding for game window

Init: Created initial NPC data structures
UI: Created basic ncurses TUI for development
Types: Created basic helper types
This commit is contained in:
Zhongheng Liu 2024-10-22 21:08:43 +03:00
commit 8b6b1f1ac0
Signed by: steven
GPG key ID: DC8F48E7B4C40905
8 changed files with 159 additions and 22 deletions

View file

@ -0,0 +1,13 @@
package window_helper
import (
. "github.com/gbin/goncurses"
)
func CreateMenu(win *Window, menu_string []string) {
x, y := 2, 2
win.Clear()
win.Box(0, 0)
for i, str := range menu_string {
win.MovePrint(y+i, x, str)
}
}