C# Class VeeGen.VGArea

Afficher le fichier Open project: SuperV1234/VeeGen Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( int mValue ) : void
Clone ( ) : VGArea
Contains ( int mX, int mY ) : bool
GetBorderTiles ( int mOffset ) : List
GetRandomBorderTile ( int mOffset ) : VGTile
GetRandomTile ( int mOffset ) : VGTile
GetTileCountByValue ( List mTiles, int mValue ) : int
GetTileNeighbors ( int mX, int mY, int mRadius = 1 ) : List
GetTileNeighborsCountByValue ( int mX, int mY, int mValue, int mRadius = 1 ) : int
GetTileNodeNeighbors ( int mX, int mY, int mRadius = 1 ) : List
SetBorder ( int mValue, int mOffset ) : void
ToArray ( ) : ].int[
ToString ( ) : string
VGArea ( VGWorld mWorld, int mXStart, int mYStart, int mXEnd, int mYEnd ) : System
this ( int mX, int mY ) : VGTile

Method Details

Clear() public méthode

public Clear ( int mValue ) : void
mValue int
Résultat void

Clone() public méthode

public Clone ( ) : VGArea
Résultat VGArea

Contains() public méthode

public Contains ( int mX, int mY ) : bool
mX int
mY int
Résultat bool

GetBorderTiles() public méthode

public GetBorderTiles ( int mOffset ) : List
mOffset int
Résultat List

GetRandomBorderTile() public méthode

public GetRandomBorderTile ( int mOffset ) : VGTile
mOffset int
Résultat VGTile

GetRandomTile() public méthode

public GetRandomTile ( int mOffset ) : VGTile
mOffset int
Résultat VGTile

GetTileCountByValue() public méthode

public GetTileCountByValue ( List mTiles, int mValue ) : int
mTiles List
mValue int
Résultat int

GetTileNeighbors() public méthode

public GetTileNeighbors ( int mX, int mY, int mRadius = 1 ) : List
mX int
mY int
mRadius int
Résultat List

GetTileNeighborsCountByValue() public méthode

public GetTileNeighborsCountByValue ( int mX, int mY, int mValue, int mRadius = 1 ) : int
mX int
mY int
mValue int
mRadius int
Résultat int

GetTileNodeNeighbors() public méthode

public GetTileNodeNeighbors ( int mX, int mY, int mRadius = 1 ) : List
mX int
mY int
mRadius int
Résultat List

SetBorder() public méthode

public SetBorder ( int mValue, int mOffset ) : void
mValue int
mOffset int
Résultat void

ToArray() public méthode

public ToArray ( ) : ].int[
Résultat ].int[

ToString() public méthode

public ToString ( ) : string
Résultat string

VGArea() public méthode

public VGArea ( VGWorld mWorld, int mXStart, int mYStart, int mXEnd, int mYEnd ) : System
mWorld VGWorld
mXStart int
mYStart int
mXEnd int
mYEnd int
Résultat System

this() public méthode

public this ( int mX, int mY ) : VGTile
mX int
mY int
Résultat VGTile