C# Class DivineRightGame.LocalMapGenerator.CampGenerator

Afficher le fichier Open project: Haedrian/Divine-Right

Méthodes publiques

Méthode 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 méthode

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
Résultat DRObjects.Actor[]

CreateBandits() public static méthode

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

GenerateCamp() public static méthode

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