working prototype with ecs
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package gamestate
|
||||
|
||||
import (
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/ecs"
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/gamemap"
|
||||
)
|
||||
|
||||
@ -10,8 +11,10 @@ type GameState struct {
|
||||
Input chan string
|
||||
RawInput chan int
|
||||
FovRecompute chan struct{}
|
||||
Redraw chan struct{}
|
||||
Redraw chan struct{}
|
||||
Player ecs.Entity
|
||||
Level *gamemap.Level
|
||||
Controller *ecs.Controller
|
||||
}
|
||||
|
||||
// do runs f on the main thread.
|
||||
|
Reference in New Issue
Block a user