23 lines
336 B
C++
23 lines
336 B
C++
#ifndef _SESSION_H_
|
|
#define _SESSION_H_
|
|
|
|
#include "IGame.h"
|
|
#include "EngineFactory.h"
|
|
class GuiWrapper;
|
|
|
|
class Session
|
|
{
|
|
public:
|
|
Session ( GuiWrapper * g ); // todo: change to GuiInterface
|
|
|
|
void newGame();
|
|
IGame * game() const;
|
|
|
|
private:
|
|
IGame * game_;
|
|
GuiWrapper * gui_;
|
|
EngineFactory factory_;
|
|
};
|
|
|
|
#endif
|