Debian Codegraph @

src/mas/agentrobber.h

raw symbols SCIP
1 /***************************************************************************
2 agentrobber.h - description
3 -------------------
4 begin : nov 29th 2005
5 copyright : (C) 2005-2006 by Duong Khang NGUYEN
6 email : neoneurone @ gmail com
7 author : Victor STINNER
8
9 $Id: agentrobber.h 375 2008-10-28 14:47:15Z neoneurone $
10 ***************************************************************************/
11
12 /***************************************************************************
13 * *
14 * This program is free software; you can redistribute it and/or modify *
15 * it under the terms of the GNU General Public License as published by *
16 * the Free Software Foundation; either version 2 of the License, or *
17 * any later version. *
18 * *
19 ***************************************************************************/
20
21 #ifndef _OPENCITY_AGENTROBBER_H_
22 #define _OPENCITY_AGENTROBBER_H_ 1
23
24 #include "agent.h"
25
26
27 /*=====================================================================*/
28 /** Specialized robber agent
29 @author Victor STINNER
30 */
31 class AgentRobber : public Agent
32 {
33 public:
34 AgentRobber(Kernel& kernel, Environment& env, int x, int y);
35 virtual ~AgentRobber();
36
37 virtual void processMessage();
38 virtual void born();
39 virtual void live();
40 virtual void die();
41 virtual void output(std::ostream &os) const;
42 };
43
44 #endif
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77