C# Класс DivineRightGame.LocalMapGenerator.CampGenerator

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

CreateBandits() публичный статический Метод

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
Результат DRObjects.Actor[]

CreateBandits() публичный статический Метод

Creates a number of bandits groups of 4
public static CreateBandits ( int totalGroups ) : List>
totalGroups int
Результат List>

GenerateCamp() публичный статический Метод

Generates a camp
public static GenerateCamp ( int enemies, MapCoordinate &startPoint, DRObjects &enemyArray ) : ].MapBlock[
enemies int
startPoint MapCoordinate
enemyArray DRObjects
Результат ].MapBlock[