[go: up one dir, main page]

Menu

[r41]: / trunk / game.h  Maximize  Restore  History

Download this file

41 lines (25 with data), 487 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
* \file game.h
*
* Created on: 29.7.2009
* Author: jozef menda
*/
#ifndef GAME_H_
#define GAME_H_
#include <QObject>
/**
* game backend.
*/
class Game: public QObject {
Q_OBJECT
public:
/**creates new game as a server*/
Game(const int _port);
private:
const bool ISSERVER;
/** initializes game server*/
bool createServer(const int _port);
private slots:
void accept_message();
};
#endif /* GAME_H_ */