C# 클래스 RandomElementOnMapGenerator, PuzzleGameProject

파일 보기 프로젝트 열기: Cedric-Paris/PuzzleGameProject 1 사용 예제들

공개 메소드들

메소드 설명
GenerateRandom ( int hauteur, int largeur, int nbChangeDir ) : ].int[
getTabActionsPossible ( ) : int>.Dictionary

비공개 메소드들

메소드 설명
AjouterDirection ( string direction ) : void
ChoisirDirection ( string current ) : string
ConvertTabInt ( ElementName, tab, int hauteur, int largeur ) : ].int[
DefinirDistance ( Point2D, pos, string direction, int hauteur, int largeur ) : int
DrawChemin ( ElementName, tab, Point2D, pos, string direction, int distance ) : Point2D,
DrawCheminEst ( ElementName, tab, Point2D, pos, int distance ) : Point2D,
DrawCheminNord ( ElementName, tab, Point2D, pos, int distance ) : Point2D,
DrawCheminOuest ( ElementName, tab, Point2D, pos, int distance ) : Point2D,
DrawCheminSud ( ElementName, tab, Point2D, pos, int distance ) : Point2D,
GenererCaseStartEnd ( ElementName, tab, int hauteur, int largeur, Point2D, end = null ) : Point2D,
GenererCheminAvecObjectif ( ElementName, tab, Point2D, posDepart, int nbChangementDirection, int hauteur, int largeur ) : void
GenererObjectifOnCurrentChemin ( ElementName, tab ) : void
GenererObstacle ( ElementName, tab, int nbObstacle, int hauteur, int largeur ) : void
VerifDirection ( string direction, Point2D, pos, int hauteur, int largeur ) : bool
VerifDistance ( ElementName, tab, Point2D, pos, string direction, int distance, int chDirection ) : bool

메소드 상세

GenerateRandom() 공개 메소드

public GenerateRandom ( int hauteur, int largeur, int nbChangeDir ) : ].int[
hauteur int
largeur int
nbChangeDir int
리턴 ].int[

getTabActionsPossible() 공개 메소드

public getTabActionsPossible ( ) : int>.Dictionary
리턴 int>.Dictionary