source: scenarios/MyFriend/Watching2Players/iCatChess/ElectronicBoard.h @ 336

Revision 336, 649 bytes checked in by pedro.cuba, 10 years ago (diff)
Line 
1#ifndef __ELECTRONICBOARD_H__
2#define __ELECTRONICBOARD_H__
3
4#include <iostream>
5#include <math.h>
6#include <windows.h>
7#include "ElectronicBoard\dgtb105.h"
8#include "ElectronicBoard\dgtbrd13.h"
9#include "ElectronicBoard\processevents.h"
10
11class ElectronicBoard {
12  public:
13        ElectronicBoard(int port);                                                      // constructor
14    void Update();                                                      // makes a move in the time wanted or number of moves
15        char* getMove();                                                        // returns the position in char*       
16        unsigned char* getBoard(void);
17        int newMove();
18        int stableBoard();
19        void sendClockMessage(char * message);
20        char getPieceFromPosition(char column, int line);
21};
22#endif
Note: See TracBrowser for help on using the repository browser.