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
26 typedef std::vector
<character
*> charactervector
;
33 void SetRelation (team
*, int);
34 int GetRelation (const team
*) const;
35 void Hostility (team
*);
36 uLong
GetID () const { return ID
; }
37 void SetID (uLong What
) { ID
= What
; }
38 void Save (outputfile
&) const;
39 void Load (inputfile
&);
40 void SetLeader (character
*What
) { Leader
= What
; }
41 character
*GetLeader () const { return Leader
; }
42 std::list
<character
*>::iterator
Add (character
*);
43 void Remove (std::list
<character
*>::iterator
);
44 const std::list
<character
*> &GetMember () const { return Member
; }
45 int GetKillEvilness () const { return KillEvilness
; }
46 void SetKillEvilness (int What
) { KillEvilness
= What
; }
47 truth
HasEnemy () const;
48 int GetMembers () const { return Member
.size(); }
49 int GetEnabledMembers () const;
50 void MoveMembersTo (charactervector
&);
54 std::map
<uLong
, int> Relation
;
55 std::list
<character
*> Member
;
61 outputfile
&operator << (outputfile
&, const team
*);
62 inputfile
&operator >> (inputfile
&, team
*&);