haraldhv
/
aigo
Archived
1
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
aigo/lib/settings.h

36 lines
495 B
C++

#ifndef _SETTINGS_H_
#define _SETTINGS_H_
struct point
{
int x, y;
};
enum type
{
BLACK = 0, WHITE, BOARD ,
NUMVALS
};
class Settings
{
public:
Settings( void );
point getUL( void );
point getUR( void );
point getBL( void );
point getBR( void );
int getWhiteTreshold( void );
int getBlackTreshold( void );
private:
//upper left, upper right etc...
point ul, ur, bl, br;
//threshold for white and black
int colorThreshold[2];
};
#endif /* ifndef _SETTINGS_H_ */