Package zombie.randomizedWorld
Class RandomizedWorldBase
java.lang.Object
zombie.randomizedWorld.RandomizedWorldBase
- Direct Known Subclasses:
RandomizedBuildingBase
,RandomizedVehicleStoryBase
,RandomizedZoneStoryBase
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBloodSplat
(IsoGridSquare square, int int1) addItemOnGround
(IsoGridSquare square, String string) addItemOnGround
(IsoGridSquare square, InventoryItem inventoryItem) addRandomItemOnGround
(IsoGridSquare square, ArrayList arrayList) void
addRandomItemsOnGround
(RoomDef roomDef, String string, int int1) void
addRandomItemsOnGround
(RoomDef roomDef, ArrayList arrayList, int int1) addTentNorthSouth
(int int1, int int2, int int3) addTentWestEast
(int int1, int int2, int int3) addTileObject
(int int1, int int2, int int3, String string) addTileObject
(IsoGridSquare square, String string) addTrailer
(BaseVehicle baseVehicle, IsoMetaGrid.Zone zone, IsoChunk chunk, String string, String string2, 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) addVehicle
(IsoMetaGrid.Zone zone, float float1, float float2, float float3, float float4, String string, String string2, Integer integer, String string3) addVehicle
(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, String string, String string2, Integer integer, IsoDirections directions, String string3) addVehicle
(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, String string, String string2, IsoDirections directions) addVehicleFlipped
(IsoMetaGrid.Zone zone, float float1, float float2, float float3, float float4, String string, String string2, Integer integer, String string3) addVehicleFlipped
(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, String string, String string2, Integer integer, IsoDirections directions, String string3) addZombiesOnSquare
(int int1, String string, Integer integer, IsoGridSquare square) addZombiesOnVehicle
(int int1, String string, 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, 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, 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) createSkeletonCorpse
(RoomDef roomDef) getLivingRoomOrKitchen
(BuildingDef buildingDef) int
getName()
getRandomRoom
(BuildingDef buildingDef, int int1) static IsoGridSquare
getRandomSpawnSquare
(RoomDef roomDef) static IsoGridSquare
getRandomSquareForCorpse
(RoomDef roomDef) getRoom
(BuildingDef buildingDef, String string) 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
void
setAttachedItem
(IsoZombie zombie, String string, String string2, String string3) void
setDebugLine
(String string) void
setMaximumDays
(int int1) void
setUnique
(boolean boolean1) spawnCarOnNearestNav
(String string, BuildingDef buildingDef)
-
Field Details
-
minimumDays
protected int minimumDays -
maximumDays
protected int maximumDays -
minimumRooms
protected int minimumRooms -
unique
protected boolean unique -
name
-
debugLine
-
-
Constructor Details
-
RandomizedWorldBase
public RandomizedWorldBase()
-
-
Method Details
-
addVehicle
public BaseVehicle addVehicle(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, String string, String string2, IsoDirections directions) -
addVehicleFlipped
public BaseVehicle addVehicleFlipped(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, String string, String string2, Integer integer, IsoDirections directions, String string3) -
addVehicleFlipped
public BaseVehicle addVehicleFlipped(IsoMetaGrid.Zone zone, float float1, float float2, float float3, float float4, String string, String string2, Integer integer, String string3) -
addVehicle
public BaseVehicle addVehicle(IsoMetaGrid.Zone zone, IsoGridSquare square, IsoChunk chunk, String string, String string2, Integer integer, IsoDirections directions, String string3) -
addVehicle
public BaseVehicle addVehicle(IsoMetaGrid.Zone zone, float float1, float float2, float float3, float float4, String string, String string2, Integer integer, String string3) -
removeAllVehiclesOnZone
-
addZombiesOnVehicle
public ArrayList addZombiesOnVehicle(int int1, String string, Integer integer, BaseVehicle baseVehicle) -
createRandomDeadBody
-
addZombiesOnSquare
-
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, String string) -
createRandomDeadBody
public static IsoDeadBody createRandomDeadBody(float float1, float float2, float float3, float float4, boolean boolean1, int int1, int int2, String string) -
addTraitOfBlood
-
addTrailOfBlood
public void addTrailOfBlood(float float1, float float2, float float3, float float4, int int1) -
addBloodSplat
-
setAttachedItem
-
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
-
getDebugLine
-
setDebugLine
-
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, String string, String string2, String string3)
-