Eris  1.4.0
Operations.h
1 // This file may be redistributed and modified only under the terms of
2 // the GNU Lesser General Public License (See COPYING for details).
3 // Copyright (C) 2004 Alistair Riddoch
4 
5 #ifndef ERIS_OPERATIONS_H
6 #define ERIS_OPERATIONS_H
7 
8 #include <Atlas/Objects/Operation.h>
9 
10 #include <Atlas/Objects/Generic.h>
11 
12 namespace Atlas { namespace Objects { namespace Operation {
13 
14 extern int ATTACK_NO;
15 
16 class Attack : public Generic
17 {
18  public:
19  Attack() {
20  (*this)->setType("attack", ATTACK_NO);
21  }
22 };
23 
24 extern int UNSEEN_NO;
25 
26 class Unseen : public Generic
27 {
28  public:
29  Unseen() {
30  (*this)->setType("unseen", UNSEEN_NO);
31  }
32 };
33 
34 } } }
35 
36 #endif
Definition: Operations.h:26
Definition: Operations.h:16
Definition: BaseConnection.h:18