C# Class Dandy.Map

Show file Open project: jackpal/Dandy-Dungeon Class Usage Examples

Public Methods

Method 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

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

Method Details

Find() public method

public Find ( byte &rx, byte &ry, MapData v ) : bool
rx byte
ry byte
v MapData
return bool

Get() public method

public Get ( uint x, uint y ) : MapData
x uint
y uint
return MapData

Get() public method

public Get ( uint x, uint y, Direction dir ) : MapData
x uint
y uint
dir Direction
return MapData

GetActive() public method

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
return void

Init() public method

public Init ( ) : void
return void

LoadLevel() public method

public LoadLevel ( uint index ) : bool
index uint
return bool

Map() public method

public Map ( ) : System
return System

OpenLock() public method

public OpenLock ( uint x, uint y ) : void
x uint
y uint
return void

Set() public method

public Set ( uint x, uint y, MapData v ) : void
x uint
y uint
v MapData
return void