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
+9
-1
@@ -1,4 +1,4 @@
|
||||
package westworldwithwoman
|
||||
package westworldwithmessaging
|
||||
|
||||
import "sync"
|
||||
|
||||
@@ -41,3 +41,11 @@ func (s *minerGlobalState) Execute(m *Miner) {
|
||||
func (s *minerGlobalState) Exit(m *Miner) {
|
||||
// TODO: fill in once the book shows this method's body.
|
||||
}
|
||||
|
||||
// OnMessage is required now that State[T] includes it. This state
|
||||
// doesn't handle any messages yet, so false ("not handled") is the
|
||||
// correct default until the book shows otherwise.
|
||||
func (s *minerGlobalState) OnMessage(m *Miner, msg Telegram) bool {
|
||||
// TODO: fill in once the book shows this method's body.
|
||||
return false
|
||||
}
|
||||
Reference in new issue
Block a user