C# Class XCom.XCMapFile

Inheritance: XCom.Interfaces.Base.IMap_Base
显示文件 Open project: pmprog/OpenXCOM.Tools Class Usage Examples

Public Methods

Method Description
AddRmp ( MapLocation loc ) : RmpEntry
CalcDrawAbove ( ) : void
Hq2x ( ) : void
NewMap ( Stream s, byte rows, byte cols, byte height ) : void

Writes a blank map to the Stream provided

Save ( ) : void
Save ( FileStream s ) : void
SaveBlanks ( ) : void
XCMapFile ( string basename, string basePath, string blankPath, List tiles, string depList ) : System

Private Methods

Method Description
createTile ( List tiles, int q1, int q2, int q3, int q4 ) : XCMapTile
readMap ( Stream s, List tiles ) : void

Method Details

AddRmp() public method

public AddRmp ( MapLocation loc ) : RmpEntry
loc MapLocation
return RmpEntry

CalcDrawAbove() public method

public CalcDrawAbove ( ) : void
return void

Hq2x() public method

public Hq2x ( ) : void
return void

NewMap() public static method

Writes a blank map to the Stream provided
public static NewMap ( Stream s, byte rows, byte cols, byte height ) : void
s Stream
rows byte
cols byte
height byte
return void

Save() public method

public Save ( ) : void
return void

Save() public method

public Save ( FileStream s ) : void
s System.IO.FileStream
return void

SaveBlanks() public method

public SaveBlanks ( ) : void
return void

XCMapFile() public method

public XCMapFile ( string basename, string basePath, string blankPath, List tiles, string depList ) : System
basename string
basePath string
blankPath string
tiles List
depList string
return System