func NewBoard(b interfaces.Board) *Board { sb := &Board{} sb.Level = b.GetId() sb.Layers = make([][]string, 1) sb.Layers[0] = b.GetRender() return sb }
func (g *Game) AddBoard(board interfaces.Board) { g.Boards[board.GetId()] = board }