C# Class Terraria.Map.WorldMap

Show file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
MaxHeight int
MaxWidth int

Public Methods

Method Description
Clear ( ) : void
ConsumeUpdate ( int x, int y ) : void
IsRevealed ( int x, int y ) : bool
Load ( ) : void
Save ( ) : void
SetTile ( int x, int y, MapTile &tile ) : void
UnlockMapSection ( int sectionX, int sectionY ) : void
Update ( int x, int y, byte light ) : void
UpdateLighting ( int x, int y, byte light ) : bool
UpdateType ( int x, int y ) : bool
WorldMap ( int maxWidth, int maxHeight ) : System
this ( int x, int y ) : MapTile

Method Details

Clear() public method

public Clear ( ) : void
return void

ConsumeUpdate() public method

public ConsumeUpdate ( int x, int y ) : void
x int
y int
return void

IsRevealed() public method

public IsRevealed ( int x, int y ) : bool
x int
y int
return bool

Load() public method

public Load ( ) : void
return void

Save() public method

public Save ( ) : void
return void

SetTile() public method

public SetTile ( int x, int y, MapTile &tile ) : void
x int
y int
tile MapTile
return void

UnlockMapSection() public method

public UnlockMapSection ( int sectionX, int sectionY ) : void
sectionX int
sectionY int
return void

Update() public method

public Update ( int x, int y, byte light ) : void
x int
y int
light byte
return void

UpdateLighting() public method

public UpdateLighting ( int x, int y, byte light ) : bool
x int
y int
light byte
return bool

UpdateType() public method

public UpdateType ( int x, int y ) : bool
x int
y int
return bool

WorldMap() public method

public WorldMap ( int maxWidth, int maxHeight ) : System
maxWidth int
maxHeight int
return System

this() public method

public this ( int x, int y ) : MapTile
x int
y int
return MapTile

Property Details

MaxHeight public property

public int MaxHeight
return int

MaxWidth public property

public int MaxWidth
return int