Package zombie.randomizedWorld
Class RandomizedWorldBase
java.lang.Object
zombie.randomizedWorld.RandomizedWorldBase
- Direct Known Subclasses:
RandomizedBuildingBase
,RandomizedVehicleStoryBase
,RandomizedZoneStoryBase
public class RandomizedWorldBase
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
debugLine
protected int
maximumDays
protected int
minimumDays
protected int
minimumRooms
protected java.lang.String
name
protected boolean
unique
-
Constructor Summary
Constructors Constructor Description RandomizedWorldBase()
-
Method Summary
Modifier and Type Method Description void
addBloodSplat(IsoGridSquare square, int int1)
InventoryItem
addItemOnGround(IsoGridSquare square, java.lang.String string)
InventoryItem
addItemOnGround(IsoGridSquare square, InventoryItem inventoryItem)
InventoryItem
addRandomItemOnGround(IsoGridSquare square, java.util.ArrayList arrayList)
void
addRandomItemsOnGround(RoomDef roomDef, java.lang.String string, int int1)
void
addRandomItemsOnGround(RoomDef roomDef, java.util.ArrayList arrayList, int int1)
IsoObject
addTentNorthSouth(int int1, int int2, int int3)
IsoObject
addTentWestEast(int int1, int int2, int int3)
IsoObject
addTileObject(int int1, int int2, int int3, java.lang.String string)
IsoObject
addTileObject(IsoGridSquare square, java.lang.String string)
BaseVehicle
addTrailer(BaseVehicle baseVehicle, IsoMetaGrid.Zone zone, IsoChunk chunk, java.lang.String string, java.lang.String string2, java.lang.String string3)
void
addTrailOfBlood(float float1, float float2, float float3, float float4, int int1)
void
addTraitOfBlood(IsoDirections directions, int int1, int int2, int int3, int int4)
BaseVehicle
addVehicle(IsoMetaGrid.Zone zone, float float1, float float2, float float3, float float4, java.lang.String string, java.lang.String string2, java.lang.Integer integer, java.lang.String string3)
BaseVehicle
addVehicle(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, java.lang.String string, java.lang.String string2, java.lang.Integer integer, IsoDirections directions, java.lang.String string3)
BaseVehicle
addVehicle(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, java.lang.String string, java.lang.String string2, IsoDirections directions)
BaseVehicle
addVehicleFlipped(IsoMetaGrid.Zone zone, float float1, float float2, float float3, float float4, java.lang.String string, java.lang.String string2, java.lang.Integer integer, java.lang.String string3)
BaseVehicle
addVehicleFlipped(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, java.lang.String string, java.lang.String string2, java.lang.Integer integer, IsoDirections directions, java.lang.String string3)
HandWeapon
addWeapon(java.lang.String string, boolean boolean1)
java.util.ArrayList
addZombiesOnSquare(int int1, java.lang.String string, java.lang.Integer integer, IsoGridSquare square)
java.util.ArrayList
addZombiesOnVehicle(int int1, java.lang.String string, java.lang.Integer integer, BaseVehicle baseVehicle)
static void
alignCorpseToSquare(IsoGameCharacter gameCharacter, IsoGridSquare square)
static IsoDeadBody
createBodyFromZombie(IsoGameCharacter gameCharacter)
static IsoDeadBody
createRandomDeadBody(float float1, float float2, float float3, float float4, boolean boolean1, int int1, int int2, java.lang.String string)
static IsoDeadBody
createRandomDeadBody(int int1, int int2, int int3, IsoDirections directions, int int4)
static IsoDeadBody
createRandomDeadBody(int int1, int int2, int int3, IsoDirections directions, int int4, int int5)
static IsoDeadBody
createRandomDeadBody(IsoGridSquare square, IsoDirections directions, int int1, int int2, java.lang.String string)
static IsoDeadBody
createRandomDeadBody(RoomDef roomDef, int int1)
static IsoGameCharacter
createRandomZombie(int int1, int int2, int int3)
static IsoGameCharacter
createRandomZombie(RoomDef roomDef)
static IsoGameCharacter
createRandomZombieForCorpse(RoomDef roomDef)
IsoDeadBody
createSkeletonCorpse(RoomDef roomDef)
java.lang.String
getDebugLine()
RoomDef
getLivingRoomOrKitchen(BuildingDef buildingDef)
int
getMaximumDays()
java.lang.String
getName()
RoomDef
getRandomRoom(BuildingDef buildingDef, int int1)
static IsoGridSquare
getRandomSpawnSquare(RoomDef roomDef)
static IsoGridSquare
getRandomSquareForCorpse(RoomDef roomDef)
RoomDef
getRoom(BuildingDef buildingDef, java.lang.String string)
IsoGridSquare
getSq(int int1, int int2, int int3)
static boolean
is1x2AreaClear(IsoGridSquare square)
static boolean
is2x1AreaClear(IsoGridSquare square)
static boolean
is2x1or1x2AreaClear(IsoGridSquare square)
static boolean
is2x2AreaClear(IsoGridSquare square)
boolean
isTimeValid(boolean boolean1)
boolean
isUnique()
static void
removeAllVehiclesOnZone(IsoMetaGrid.Zone zone)
void
setAttachedItem(IsoZombie zombie, java.lang.String string, java.lang.String string2, java.lang.String string3)
void
setDebugLine(java.lang.String string)
void
setMaximumDays(int int1)
void
setUnique(boolean boolean1)
BaseVehicle
spawnCarOnNearestNav(java.lang.String string, BuildingDef buildingDef)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
minimumDays
protected int minimumDays -
maximumDays
protected int maximumDays -
minimumRooms
protected int minimumRooms -
unique
protected boolean unique -
name
protected java.lang.String name -
debugLine
protected java.lang.String debugLine
-
-
Constructor Details
-
RandomizedWorldBase
public RandomizedWorldBase()
-
-
Method Details
-
addVehicle
public BaseVehicle addVehicle(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, java.lang.String string, java.lang.String string2, IsoDirections directions) -
addVehicleFlipped
public BaseVehicle addVehicleFlipped(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, java.lang.String string, java.lang.String string2, java.lang.Integer integer, IsoDirections directions, java.lang.String string3) -
addVehicleFlipped
public BaseVehicle addVehicleFlipped(IsoMetaGrid.Zone zone, float float1, float float2, float float3, float float4, java.lang.String string, java.lang.String string2, java.lang.Integer integer, java.lang.String string3) -
addVehicle
public BaseVehicle addVehicle(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, java.lang.String string, java.lang.String string2, java.lang.Integer integer, IsoDirections directions, java.lang.String string3) -
addVehicle
public BaseVehicle addVehicle(IsoMetaGrid.Zone zone, float float1, float float2, float float3, float float4, java.lang.String string, java.lang.String string2, java.lang.Integer integer, java.lang.String string3) -
removeAllVehiclesOnZone
-
addZombiesOnVehicle
public java.util.ArrayList addZombiesOnVehicle(int int1, java.lang.String string, java.lang.Integer integer, BaseVehicle baseVehicle) -
createRandomDeadBody
-
addZombiesOnSquare
public java.util.ArrayList addZombiesOnSquare(int int1, java.lang.String string, java.lang.Integer integer, IsoGridSquare square) -
createRandomDeadBody
public static IsoDeadBody createRandomDeadBody(int int1, int int2, int int3, IsoDirections directions, int int4) -
createRandomDeadBody
public static IsoDeadBody createRandomDeadBody(int int1, int int2, int int3, IsoDirections directions, int int4, int int5) -
createRandomDeadBody
public static IsoDeadBody createRandomDeadBody(IsoGridSquare square, IsoDirections directions, int int1, int int2, java.lang.String string) -
createRandomDeadBody
public static IsoDeadBody createRandomDeadBody(float float1, float float2, float float3, float float4, boolean boolean1, int int1, int int2, java.lang.String string) -
addTraitOfBlood
-
addTrailOfBlood
public void addTrailOfBlood(float float1, float float2, float float3, float float4, int int1) -
addBloodSplat
-
setAttachedItem
public void setAttachedItem(IsoZombie zombie, java.lang.String string, java.lang.String string2, java.lang.String string3) -
createRandomZombie
-
createRandomZombieForCorpse
-
createBodyFromZombie
-
createRandomZombie
-
is1x2AreaClear
-
is2x1AreaClear
-
is2x1or1x2AreaClear
-
is2x2AreaClear
-
alignCorpseToSquare
-
getRandomRoom
-
getRoom
-
getLivingRoomOrKitchen
-
getRandomSpawnSquare
-
getRandomSquareForCorpse
-
addItemOnGround
-
addItemOnGround
-
addRandomItemsOnGround
-
addRandomItemsOnGround
-
addRandomItemOnGround
-
addWeapon
-
createSkeletonCorpse
-
isTimeValid
public boolean isTimeValid(boolean boolean1) -
getName
public java.lang.String getName() -
getDebugLine
public java.lang.String getDebugLine() -
setDebugLine
public void setDebugLine(java.lang.String string) -
getMaximumDays
public int getMaximumDays() -
setMaximumDays
public void setMaximumDays(int int1) -
isUnique
public boolean isUnique() -
setUnique
public void setUnique(boolean boolean1) -
getSq
-
addTileObject
-
addTileObject
-
addTentNorthSouth
-
addTentWestEast
-
addTrailer
public BaseVehicle addTrailer(BaseVehicle baseVehicle, IsoMetaGrid.Zone zone, IsoChunk chunk, java.lang.String string, java.lang.String string2, java.lang.String string3)
-