Skip to content

Commit

Permalink
Init values in Config header.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Oct 3, 2024
1 parent bb2009e commit f25b03f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ class Config
const int tileCount_{20};
static constexpr int defaultTileSize_{30};
int tileSize_{defaultTileSize_};
int bulletSize_{};
int boardWidth_{};
int boardHeight_{};
int statusWidth_{};
float speedFactor_{};
int bulletSize_{0};
int boardWidth_{0};
int boardHeight_{0};
int statusWidth_{0};
float speedFactor_{0};
const std::chrono::seconds fireDelay_{2};
};

0 comments on commit f25b03f

Please sign in to comment.