penguins  1.0.0
Coords Struct Reference

Detailed Description

A pair of 2D coordinates, used for addressing the Game::board_grid.

Definition at line 15 of file utils.h.

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...
 

Field Documentation

◆ x

◆ y

Friends And Related Function Documentation

◆ coords_same()

bool coords_same ( Coords  a,
Coords  b 
)
related

Checks if two Coords pairs are equal.

Definition at line 46 of file utils.h.


The documentation for this struct was generated from the following file: