simple ecs system
This commit is contained in:
32
server/dimension/world.go
Normal file
32
server/dimension/world.go
Normal file
@ -0,0 +1,32 @@
|
||||
package dimension
|
||||
|
||||
import (
|
||||
"github.com/Tnze/go-mc/server"
|
||||
)
|
||||
|
||||
type World struct {
|
||||
}
|
||||
|
||||
func (w *World) Init(g *server.Game) {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (w *World) Info() server.LevelInfo {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (w *World) PlayerJoin(p *server.Player) {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (w *World) PlayerQuit(p *server.Player) {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (w *World) register() {
|
||||
|
||||
}
|
Reference in New Issue
Block a user