C# 클래스 DivineRightGame.LocalMapGenerator.CampGenerator

파일 보기 프로젝트 열기: Haedrian/Divine-Right

공개 메소드들

메소드 설명
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[