feat: westworldwithmessaging. add entitymanager, telegram, messagehandlers, delayedmessages, expand baseentity
This commit is contained in:
1 parent
0e7482e04c
commit
129dd5d8b8
18 files changed
+505
-19
No files matched your search
@@ -1,4 +1,4 @@
|
||||
package westworldwithwoman
|
||||
package westworldwithmessaging
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -51,3 +51,10 @@ func (s *quenchThirst) Execute(m *Miner) {
|
||||
func (s *quenchThirst) Exit(m *Miner) {
|
||||
fmt.Printf("\n%s: Leavin' the saloon, feelin' good", GetNameOfEntity(m.ID()))
|
||||
}
|
||||
|
||||
// OnMessage is required now that State[T] includes it. This state
|
||||
// doesn't handle any messages yet - false ("not handled") is the
|
||||
// correct default until the book shows otherwise.
|
||||
func (s *quenchThirst) OnMessage(m *Miner, msg Telegram) bool {
|
||||
return false
|
||||
}
|
||||
Reference in new issue
Block a user