creaturesImage work: add mutableCopy and tint methods to the base class (and change...
[openc2e.git] / SimpleAgent.h
blob5af2080d6773f52de751685c5966cbb06886fc9e
1 /*
2 * SimpleAgent.h
3 * openc2e
5 * Created by Alyssa Milburn on Tue May 25 2004.
6 * Copyright (c) 2004 Alyssa Milburn. All rights reserved.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
20 #include "CompoundAgent.h"
21 #include <string>
22 #include <vector>
24 #ifndef _C2E_SIMPLEAGENT_H
25 #define _C2E_SIMPLEAGENT_H
27 class SimpleAgent : public Agent {
28 protected:
29 DullPart *dullpart;
31 public:
32 SimpleAgent(unsigned char family, unsigned char genus, unsigned short species, unsigned int plane,
33 std::string spritefile, unsigned int firstimage, unsigned int imagecount);
34 virtual ~SimpleAgent();
35 void setZOrder(unsigned int plane);
36 void tick();
37 CompoundPart *part(unsigned int id);
40 #endif
41 /* vim: set noet: */