Метод | Описание | |
---|---|---|
FindPath ( int x, int y, int minimumLength, bool debugMode = false ) : bool | ||
Generate ( int trackCount, int minimumLength ) : void | ||
Run ( Point start ) : void | ||
Run ( int trackCount = 30, int minimumLength = 250 ) : void |
Метод | Описание | |
---|---|---|
CanTrackBePlaced ( int x, int y ) : bool | ||
IsLocationEmpty ( int x, int y ) : bool | ||
SmoothTrack ( TrackHistory history, int length ) : void |
public FindPath ( int x, int y, int minimumLength, bool debugMode = false ) : bool | ||
x | int | |
y | int | |
minimumLength | int | |
debugMode | bool | |
Результат | bool |
public Generate ( int trackCount, int minimumLength ) : void | ||
trackCount | int | |
minimumLength | int | |
Результат | void |
public static Run ( Point start ) : void | ||
start | Point | |
Результат | void |
public static Run ( int trackCount = 30, int minimumLength = 250 ) : void | ||
trackCount | int | |
minimumLength | int | |
Результат | void |