ecs attempt

This commit is contained in:
anton.gurov
2019-11-05 16:44:50 +03:00
parent 284cdc5315
commit 096ff2b182
6 changed files with 42 additions and 38 deletions

View File

@ -2,7 +2,6 @@ package gamestate
import (
"lab.zaar.be/thefish/alchemyst-go/engine/gamemap"
"lab.zaar.be/thefish/alchemyst-go/engine/mob"
)
type GameState struct {
@ -13,7 +12,6 @@ type GameState struct {
FovRecompute chan struct{}
Redraw chan struct{}
Level *gamemap.Level
Player *mob.Player
}
// do runs f on the main thread.