MDA
|
Simple struct to save a match and its score. More...
#include <Library.hpp>
Public Member Functions | |
Match_point () | |
Constructor which sets every value to 0. | |
Match_point (unsigned int x_, unsigned int y_, float score_) | |
Constructor initializing values to user given values. More... | |
Public Attributes | |
unsigned int | x |
unsigned int | y |
float | score |
Friends | |
bool | operator< (const Match_point &a, const Match_point &b) |
Lesser operator. More... | |
Simple struct to save a match and its score.
|
inline |
Constructor initializing values to user given values.
x_ | The first position. |
y_ | The second position. |
score_ | The score of the match. |
|
friend |
Lesser operator.
First the first coordinate is compared then the second.
a | The first point. |
b | The second point. |