00001 /*************************************************************************** 00002 agentrobber.h - description 00003 ------------------- 00004 begin : nov 29th 2005 00005 copyright : (C) 2005-2006 by Duong-Khang NGUYEN 00006 email : neoneurone @ users sourceforge net 00007 author : Victor STINNER 00008 00009 $Id: agentrobber.h 32 2006-08-06 18:59:25Z neoneurone $ 00010 ***************************************************************************/ 00011 00012 /*************************************************************************** 00013 * * 00014 * This program is free software; you can redistribute it and/or modify * 00015 * it under the terms of the GNU General Public License as published by * 00016 * the Free Software Foundation; either version 2 of the License, or * 00017 * any later version. * 00018 * * 00019 ***************************************************************************/ 00020 00021 #ifndef _OPENCITY_AGENTROBBER_H_ 00022 #define _OPENCITY_AGENTROBBER_H_ 1 00023 00024 #include "agent.h" 00025 00026 00027 /*=====================================================================*/ 00031 class AgentRobber : public Agent 00032 { 00033 public: 00034 AgentRobber(Kernel& kernel, Environment& env, int x, int y); 00035 virtual ~AgentRobber(); 00036 00037 virtual void processMessage(); 00038 virtual void born(); 00039 virtual void live(); 00040 virtual void die(); 00041 virtual void output(std::ostream &os) const; 00042 }; 00043 00044 #endif 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077
1.4.2