hash out state

This commit is contained in:
Barak Michener 2016-08-05 16:36:23 -07:00
parent 3b1033ff1a
commit 006a3a5b72
4 changed files with 101 additions and 71 deletions

20
state.go Normal file
View file

@ -0,0 +1,20 @@
package roba
type Loc struct {
X int
Y int
}
type Cell struct {
Tile Tile
}
type Map interface {
OnTick(n int, s *State)
Name() string
}
type State struct {
Layout *Layout
Map Map
}