repo.or.cz
/
vic.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
The dev goes on
[vic.git]
/
src
/
command.h
blob
7fb249cc0bf476907b3f9d6616178d1f656836b1
1
#ifndef COMMAND_H
2
#define COMMAND_H
3
4
#include <cstdlib>
5
#include
"game.h"
6
7
class
ICommand
8
{
9
public
:
10
ICommand
() {};
11
virtual
~
ICommand
() {};
12
13
virtual
int
execute
(
Game
*
g
) =
0
;
14
virtual
int
revert
(
Game
*
g
) =
0
;
15
};
16
17
#endif
/* COMMAND_H */