Package zombie.randomizedWorld
Class RandomizedWorldBase
java.lang.Object
zombie.randomizedWorld.RandomizedWorldBase
- Direct Known Subclasses:
RandomizedBuildingBase,RandomizedVehicleStoryBase,RandomizedZoneStoryBase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBloodSplat(IsoGridSquare square, int int1) addItemOnGround(IsoGridSquare square, String string) addItemOnGround(IsoGridSquare square, InventoryItem inventoryItem) addRandomItemOnGround(IsoGridSquare square, ArrayList arrayList) voidaddRandomItemsOnGround(RoomDef roomDef, String string, int int1) voidaddRandomItemsOnGround(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) voidaddTrailOfBlood(float float1, float float2, float float3, float float4, int int1) voidaddTraitOfBlood(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 voidalignCorpseToSquare(IsoGameCharacter gameCharacter, IsoGridSquare square) static IsoDeadBodycreateBodyFromZombie(IsoGameCharacter gameCharacter) static IsoDeadBodycreateRandomDeadBody(float float1, float float2, float float3, float float4, boolean boolean1, int int1, int int2, String string) static IsoDeadBodycreateRandomDeadBody(int int1, int int2, int int3, IsoDirections directions, int int4) static IsoDeadBodycreateRandomDeadBody(int int1, int int2, int int3, IsoDirections directions, int int4, int int5) static IsoDeadBodycreateRandomDeadBody(IsoGridSquare square, IsoDirections directions, int int1, int int2, String string) static IsoDeadBodycreateRandomDeadBody(RoomDef roomDef, int int1) static IsoGameCharactercreateRandomZombie(int int1, int int2, int int3) static IsoGameCharactercreateRandomZombie(RoomDef roomDef) static IsoGameCharactercreateRandomZombieForCorpse(RoomDef roomDef) createSkeletonCorpse(RoomDef roomDef) getLivingRoomOrKitchen(BuildingDef buildingDef) intgetName()getRandomRoom(BuildingDef buildingDef, int int1) static IsoGridSquaregetRandomSpawnSquare(RoomDef roomDef) static IsoGridSquaregetRandomSquareForCorpse(RoomDef roomDef) getRoom(BuildingDef buildingDef, String string) getSq(int int1, int int2, int int3) static booleanis1x2AreaClear(IsoGridSquare square) static booleanis2x1AreaClear(IsoGridSquare square) static booleanis2x1or1x2AreaClear(IsoGridSquare square) static booleanis2x2AreaClear(IsoGridSquare square) booleanisTimeValid(boolean boolean1) booleanisUnique()static voidvoidsetAttachedItem(IsoZombie zombie, String string, String string2, String string3) voidsetDebugLine(String string) voidsetMaximumDays(int int1) voidsetUnique(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)
-