#include <domino.h>
Public Member Functions | |
HalfDomino () | |
Constructor. | |
HalfDomino (const int half) | |
Constructor. | |
int | half () const |
Half value. | |
bool | is_valid () const |
Check if the half value is valid. | |
operator int () const | |
Converts the half in his value. | |
Friends | |
bool | operator== (const HalfDomino &halfdomino1, const HalfDomino &halfdomino2) |
Comparision between 2 halfs. | |
bool | operator!= (const HalfDomino &halfdomino1, const HalfDomino &halfdomino2) |
Comparision between 2 halfs. |
|
Constructor.
|
|
Half value.
|
|
Check if the half value is valid.
|
|
Comparision between 2 halfs.
|
|
Comparision between 2 halfs.
|