3 * Iter Vehemens ad Necem (IVAN)
4 * Copyright (C) Timo Kiviluoto
5 * Released under the GNU General
8 * See LICENSING which should be included
9 * along with this file for more details
15 #include "ivancommon.h"
28 typedef std::vector
<character
*> charactervector
;
37 void SetRelation (team
*, int);
38 int GetRelation (const team
*) const;
39 void Hostility (team
*);
40 /*feuLong*/int GetID () const { return ID
; }
41 void SetID (/*feuLong*/int What
) { ID
= What
; }
42 void Save (outputfile
&) const;
43 void Load (inputfile
&);
44 void SetLeader (character
*What
) { Leader
= What
; }
45 character
*GetLeader () const { return Leader
; }
46 //std::list<character *>::iterator Add (character *);
47 void Add (character
*Who
);
48 void Remove (character
*Who
);
49 //void Remove (std::list<character *>::iterator);
50 const std::list
<character
*> &GetMember () const { return Member
; }
51 int GetKillEvilness () const { return KillEvilness
; }
52 void SetKillEvilness (int What
) { KillEvilness
= What
; }
53 truth
HasEnemy () const;
54 int GetMembers () const { return Member
.size(); }
55 int GetEnabledMembers () const;
56 void MoveMembersTo (charactervector
&);
57 cfestring
&GetName () const { return Name
; }
58 void SetName (cfestring
&newname
) { Name
= newname
; }
62 std::map
<feuLong
, int> Relation
;
63 std::list
<character
*> Member
;
70 outputfile
&operator << (outputfile
&, const team
*);
71 inputfile
&operator >> (inputfile
&, team
*&);