C# Class DivineRightGame.LocalMapGenerator.CampGenerator

Mostrar archivo Open project: Haedrian/Divine-Right

Public Methods

Method Description
CreateBandits ( int total, List outsidePatrol, List insidePatrol ) : DRObjects.Actor[]

Creates a number of bandits. They will be structured 9:3:1 in difficulty 33% will be assigned to a patrol. They will not be positioned on the map

CreateBandits ( int totalGroups ) : List>

Creates a number of bandits groups of 4

GenerateCamp ( int enemies, MapCoordinate &startPoint, DRObjects &enemyArray ) : ].MapBlock[

Generates a camp

Method Details

CreateBandits() public static method

Creates a number of bandits. They will be structured 9:3:1 in difficulty 33% will be assigned to a patrol. They will not be positioned on the map
public static CreateBandits ( int total, List outsidePatrol, List insidePatrol ) : DRObjects.Actor[]
total int
outsidePatrol List
insidePatrol List
return DRObjects.Actor[]

CreateBandits() public static method

Creates a number of bandits groups of 4
public static CreateBandits ( int totalGroups ) : List>
totalGroups int
return List>

GenerateCamp() public static method

Generates a camp
public static GenerateCamp ( int enemies, MapCoordinate &startPoint, DRObjects &enemyArray ) : ].MapBlock[
enemies int
startPoint MapCoordinate
enemyArray DRObjects
return ].MapBlock[