func (gs *GameState) DisplayMap() { utils.DrawBox(0, 0, gs.GameMap.Width-(offset*2), gs.GameMap.Height+offset, utils.CONNECT_BOT) for y := 0; y < gs.GameMap.Height; y++ { for x := 0; x < gs.GameMap.Width; x++ { tile := gs.GameMap.Data[x][y] //if tile.IsVisible == true { utils.DrawRichText(x+offset, y+offset, tile.Char, tile.Color, termbox.ColorBlack) //} } } }
func (ch *Character) DisplayPlayer() { utils.DrawRichText(ch.X+offset, ch.Y+offset, "@", termbox.ColorGreen, termbox.ColorBlack) }