event system

This commit is contained in:
JunDao
2019-05-02 00:39:43 +08:00
parent 45820c10f5
commit 1f0bdf19a3
4 changed files with 84 additions and 22 deletions

View File

@ -16,6 +16,7 @@ type Client struct {
settings Settings
// wd world //the map data
Events eventBroker
}
//NewClient init and return a new Client