player and dimension loader with ecs system
This commit is contained in:
13
server/ecs/system_test.go
Normal file
13
server/ecs/system_test.go
Normal file
@ -0,0 +1,13 @@
|
||||
package ecs
|
||||
|
||||
type PositionComponent struct {
|
||||
X, Y int
|
||||
}
|
||||
|
||||
type MySystem1 struct {
|
||||
*PositionComponent
|
||||
}
|
||||
|
||||
func (s *MySystem1) Update(w *World) {
|
||||
|
||||
}
|
Reference in New Issue
Block a user