use some struct to wrap ianremmler's ode golang library
Please read his repository to build ODE's share library
But I made some change in order to let the collide callback to deal with geom is space please install https://github.com/daniel840829/ode
-
entity
- GameManager
- Entity
- Room
- hmap
- msg
- use protobuf to define package and rpc interface - physic
this package is base on https://github.com/ianremmler/ode Open Dynamic Engine
use some struct to wrap ianremmler's ode golang library
Please read his repository to build ODE's share library
- World
- Obj
- ObjData
- rpctest
- service
implemente gRPC's Service defined in msg package to communicate with client
I divide the message into five parts- Error
- Sync Postion
- CallMathod
- Regist
- Login
- Error
- Sync Postion
- CallMathod
-
uuid
generate different IDs of objects that can be call with reflection - user
- UserManager
- User
- TODO: There should be a session manager to cache user infomation and state
-
storage
Use mogdb to storage user infomation - timeCalibrate
-
util
some tools
-
data
use to load some model data e.g. character or map