Brought in FLECS to play with, tomorrow we learn it.
This commit is contained in:
parent
b8a0d9bbd1
commit
a3eaf78fd3
7 changed files with 76 additions and 5 deletions
4
gui.cpp
4
gui.cpp
|
@ -65,7 +65,7 @@ GUI::GUI() : $game_map(GAME_MAP_X, GAME_MAP_Y),
|
|||
$map_text.setFont($font);
|
||||
$map_text.setPosition(GAME_MAP_POS,0);
|
||||
$map_text.setCharacterSize(MAP_FONT_SIZE);
|
||||
$map_text.setFillColor(color(Value::LIGHT_DARK));
|
||||
$map_text.setFillColor(color(Value::MID));
|
||||
|
||||
$game_map.generate();
|
||||
$player.location = $game_map.place_entity(0);
|
||||
|
@ -174,7 +174,7 @@ void GUI::burn() {
|
|||
std::this_thread::sleep_for(2ms);
|
||||
}
|
||||
|
||||
$map_text.setFillColor(color(Value::LIGHT_DARK));
|
||||
$map_text.setFillColor(color(Value::MID));
|
||||
}
|
||||
|
||||
void GUI::draw_screen(bool clear, float map_off_x, float map_off_y) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue