penguins
1.0.0
|
A pair of 2D coordinates, used for addressing the Game::board_grid.
Data Fields | |
int | x |
int | y |
Related Functions | |
(Note that these are not member functions.) | |
bool | coords_same (Coords a, Coords b) |
Checks if two Coords pairs are equal. More... | |
int Coords::x |
Definition at line 16 of file utils.h.
Referenced by BotState::bot_flood_fill_count_fish(), BotState::bot_generate_all_moves_list(), BotState::bot_quick_junction_check(), BotState::bot_rate_move(), BotState::bot_rate_moves_list(), BotState::bot_rate_placement(), Game::calculate_penguin_possible_moves(), coords_same(), Game::count_obstructed_directions(), GamePanel::describe_game_log_entry(), distance(), Game::game_compute_state_hash(), Game::game_find_player_penguin(), generate_board_island(), Game::get_tile(), Game::get_tile_attr(), CanvasPanel::get_tile_rect(), Game::is_tile_in_bounds(), CanvasPanel::on_paint(), CanvasPanel::paint_board(), CanvasPanel::paint_tiles(), scan_coords(), Game::set_tile(), Game::set_tile_attr(), PlayerPlacementController::update_status_bar(), PlayerMovementController::update_status_bar(), PlayerMovementController::update_tile_attributes(), and Game::validate_movement().
int Coords::y |
Definition at line 17 of file utils.h.
Referenced by BotState::bot_flood_fill_count_fish(), BotState::bot_generate_all_moves_list(), BotState::bot_quick_junction_check(), BotState::bot_rate_move(), BotState::bot_rate_moves_list(), BotState::bot_rate_placement(), Game::calculate_penguin_possible_moves(), coords_same(), Game::count_obstructed_directions(), GamePanel::describe_game_log_entry(), distance(), Game::game_compute_state_hash(), Game::game_find_player_penguin(), generate_board_island(), Game::get_tile(), Game::get_tile_attr(), CanvasPanel::get_tile_rect(), Game::is_tile_in_bounds(), CanvasPanel::on_paint(), CanvasPanel::paint_tiles(), scan_coords(), Game::set_tile(), Game::set_tile_attr(), PlayerPlacementController::update_status_bar(), PlayerMovementController::update_status_bar(), PlayerMovementController::update_tile_attributes(), and Game::validate_movement().