register logic
This commit is contained in:
@@ -4,11 +4,6 @@ import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
)
|
||||
|
||||
func registerDialog(w *World) {
|
||||
for _, d := range []inkwell.Dialogue{
|
||||
dialogDexTalk(),
|
||||
dialogMysteryTapeSilent(),
|
||||
} {
|
||||
w.G.DialogueManager.Register(d)
|
||||
}
|
||||
}
|
||||
type Dialog = inkwell.Dialogue
|
||||
|
||||
var DialogManager = NewManager(func(entity Dialog) string { return entity.Name })
|
||||
|
||||
Reference in New Issue
Block a user