C# Class Dandy.Map

Afficher le fichier Open project: jackpal/Dandy-Dungeon Class Usage Examples

Méthodes publiques

Méthode Description
Find ( byte &rx, byte &ry, MapData v ) : bool
Get ( uint x, uint y ) : MapData
Get ( uint x, uint y, Direction dir ) : MapData
GetActive ( float &x, float &y, uint &left, uint &top, uint &right, uint &bottom ) : void
Init ( ) : void
LoadLevel ( uint index ) : bool
Map ( ) : System
OpenLock ( uint x, uint y ) : void
Set ( uint x, uint y, MapData v ) : void

Private Methods

Méthode Description
GetActive1 ( float &x, uint &left, uint &right, uint width, uint viewWidth ) : void
LoadLevel2 ( string fileName ) : void

Method Details

Find() public méthode

public Find ( byte &rx, byte &ry, MapData v ) : bool
rx byte
ry byte
v MapData
Résultat bool

Get() public méthode

public Get ( uint x, uint y ) : MapData
x uint
y uint
Résultat MapData

Get() public méthode

public Get ( uint x, uint y, Direction dir ) : MapData
x uint
y uint
dir Direction
Résultat MapData

GetActive() public méthode

public GetActive ( float &x, float &y, uint &left, uint &top, uint &right, uint &bottom ) : void
x float
y float
left uint
top uint
right uint
bottom uint
Résultat void

Init() public méthode

public Init ( ) : void
Résultat void

LoadLevel() public méthode

public LoadLevel ( uint index ) : bool
index uint
Résultat bool

Map() public méthode

public Map ( ) : System
Résultat System

OpenLock() public méthode

public OpenLock ( uint x, uint y ) : void
x uint
y uint
Résultat void

Set() public méthode

public Set ( uint x, uint y, MapData v ) : void
x uint
y uint
v MapData
Résultat void