player and dimension loader with ecs system

This commit is contained in:
Tnze
2022-05-27 00:38:46 +08:00
parent d2f7db9d0d
commit 474d6a229b
34 changed files with 956 additions and 795 deletions

13
server/ecs/system_test.go Normal file
View File

@ -0,0 +1,13 @@
package ecs
type PositionComponent struct {
X, Y int
}
type MySystem1 struct {
*PositionComponent
}
func (s *MySystem1) Update(w *World) {
}