register logic

This commit is contained in:
2026-08-29 23:59:56 +02:00
parent ddea3b0893
commit 94649a38fe
83 changed files with 830 additions and 699 deletions
+3 -10
View File
@@ -4,13 +4,6 @@ import (
inkwell "git.teletypegames.org/engines/inkwell"
)
func registerCharacter(w *World) {
for _, c := range []inkwell.Character{
characterPaul(),
characterDex(),
characterMysteryTape(),
characterSupportTape(),
} {
w.G.CharacterManager.Register(c)
}
}
type Character = inkwell.Character
var CharacterManager = NewManager(func(entity Character) string { return entity.Name })