Package zombie.characters
Class SurvivorGroup
java.lang.Object
zombie.characters.SurvivorGroup
public class SurvivorGroup
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.util.Stack
GroupNeeds
SurvivorDesc
Leader
java.util.ArrayList
Members
IsoBuilding
Safehouse
-
Constructor Summary
Constructors Constructor Description SurvivorGroup(KahluaTable luaGroup)
SurvivorGroup(SurvivorDesc leader)
-
Method Summary
Modifier and Type Method Description void
addAll(SurvivorGroup group)
void
addMember(SurvivorDesc member)
void
AddNeed(java.lang.String type, int priority)
void
Despawn()
SurvivorDesc
getLeader()
KahluaTable
getLuaGroup()
java.util.ArrayList
getMembers()
int
getTotalNeedPriority()
void
gotoBuildingOrder(BuildingDef def)
void
gotoOrder(int x, int y)
boolean
HasNeed(java.lang.String type)
boolean
HasOtherMembers(SurvivorDesc descriptor)
void
instanceGroup(int x, int y)
boolean
isInstanced()
boolean
isLeader(IsoGameCharacter chr)
boolean
isLeader(SurvivorDesc desc)
boolean
isMember(IsoGameCharacter chr)
boolean
isMember(SurvivorDesc desc)
void
removeMember(SurvivorDesc member)
void
setLeader(SurvivorDesc desc)
void
setLuaGroup(KahluaTable tab)
void
setLuaTable(KahluaTable group)
void
setSafehouse(IsoBuilding building)
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Safehouse
-
Members
public java.util.ArrayList Members -
Leader
-
GroupNeeds
public java.util.Stack GroupNeeds
-
-
Constructor Details
-
SurvivorGroup
-
SurvivorGroup
-
-
Method Details
-
setLuaGroup
-
getMembers
public java.util.ArrayList getMembers() -
addAll
-
getLuaGroup
-
gotoOrder
public void gotoOrder(int x, int y) -
gotoBuildingOrder
-
setLeader
-
getLeader
-
addMember
-
isInstanced
public boolean isInstanced() -
removeMember
-
isMember
-
isMember
-
isLeader
-
isLeader
-
update
public void update() -
HasOtherMembers
-
getTotalNeedPriority
public int getTotalNeedPriority() -
AddNeed
public void AddNeed(java.lang.String type, int priority) -
HasNeed
public boolean HasNeed(java.lang.String type) -
setLuaTable
-
setSafehouse
-
instanceGroup
public void instanceGroup(int x, int y) -
Despawn
public void Despawn()
-