C# Class AlbLib.Mapping.Map

Datei anzeigen Open project: IllidanS4/AlbLib

Public Properties

Property Type Description
Id int

Public Methods

Method Description
Combine ( ) : GraphicPlane
Combine ( CombineArgs args ) : GraphicPlane

Combines all tiles to form a graphic plane.

EnumerateSquares ( ) : IEnumerable
IsHelperTile ( int tileset, int tile ) : bool
Load ( int id ) : Map

Loads existing map using in-game ID. (Alt+F2)

Map ( Stream stream ) : System

Loads map from stream.

Map ( int id, Stream stream ) : System

Loads map from stream and assigns an id.

Private Methods

Method Description
Minimize ( ImageBase source, ImagePalette src, ImagePalette dest ) : RawImage

Method Details

Combine() public method

public Combine ( ) : GraphicPlane
return AlbLib.Imaging.GraphicPlane

Combine() public method

Combines all tiles to form a graphic plane.
public Combine ( CombineArgs args ) : GraphicPlane
args CombineArgs
return AlbLib.Imaging.GraphicPlane

EnumerateSquares() public method

public EnumerateSquares ( ) : IEnumerable
return IEnumerable

IsHelperTile() public static method

public static IsHelperTile ( int tileset, int tile ) : bool
tileset int
tile int
return bool

Load() public static method

Loads existing map using in-game ID. (Alt+F2)
public static Load ( int id ) : Map
id int
return Map

Map() public method

Loads map from stream.
public Map ( Stream stream ) : System
stream Stream /// Source stream. ///
return System

Map() public method

Loads map from stream and assigns an id.
public Map ( int id, Stream stream ) : System
id int /// Id of map. ///
stream Stream /// Source stream. ///
return System

Property Details

Id public_oe property

Id of map.
public int Id
return int