Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AppOfficer committed Dec 14, 2024
1 parent ffbcdb8 commit f3c988c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drafts/board.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ class Board {
}
};

/// Declare Alias for convenience.
/// Declare alias for convenience.
using BoardView = Board::BoardView;
3 changes: 1 addition & 2 deletions drafts/coord.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@

using pos_t = int32_t;

/// @brief Struct for Coordinates, %Coord.
///
/// Struct for Coordinates, %Coord.
/// Avoid using `COORD` as windows.h defines it.
struct Coord {
pos_t x, y;
Expand Down
5 changes: 3 additions & 2 deletions drafts/tile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,12 @@ struct TileView {
Player* occupier;
tile_type_e type;
army_t army;
/// Light has no importance in game, and will not be displayed.
/// Light has no importance in game, and will not be given.
// bool light;

TileView() {}
TileView(const Tile& tile, bool vis) :
/// Constructor using a %Tile and its visibility.
TileView(const Tile& tile, const bool& vis) :
visible(vis) {
if(vis) {
occupier = tile.occupier;
Expand Down

0 comments on commit f3c988c

Please sign in to comment.