C# Class fCraft.IsoCat

Isometric map renderer, tightly integrated with BackgroundWorker. Creates a bitmap of the map. Every IsoCat instance is single-use.
Mostrar archivo Open project: fragmer/fCraft Class Usage Examples

Public Properties

Property Type Description
Map Map
Mode IsoCatMode
Rot int
chunkCoords int[]

Public Methods

Method Description
Draw ( Rectangle &cropRectangle, BackgroundWorker worker ) : Bitmap
IsoCat ( Map map, IsoCatMode mode, int rot ) : System

Private Methods

Method Description
BlendPixel ( int imageOffset, int tileOffset ) : void
BlendTile ( ) : void
GetBlock ( int xx, int yy, int hh ) : byte
IsoCat ( ) : System

Method Details

Draw() public method

public Draw ( Rectangle &cropRectangle, BackgroundWorker worker ) : Bitmap
cropRectangle System.Drawing.Rectangle
worker System.ComponentModel.BackgroundWorker
return System.Drawing.Bitmap

IsoCat() public method

public IsoCat ( Map map, IsoCatMode mode, int rot ) : System
map Map
mode IsoCatMode
rot int
return System

Property Details

Map public_oe property

public Map,fCraft Map
return Map

Mode public_oe property

public IsoCatMode Mode
return IsoCatMode

Rot public_oe property

public int Rot
return int

chunkCoords public_oe property

public int[] chunkCoords
return int[]