C# Class MCDawn.IsoCat

Isometric level renderer, tightly integrated with BackgroundWorker. Creates a bitlevel of the level. Every IsoCat instance is single-use.
Afficher le fichier Open project: jonnyli1125/MCDawn

Méthodes publiques

Свойство Type Description
ChunkCoords int[]
Level MCDawn.Level
Mode IsoCatMode
Rot int

Méthodes publiques

Méthode Description
Draw ( Rectangle &cropRectangle, BackgroundWorker worker ) : Bitmap
IsoCat ( MCDawn.Level level, IsoCatMode mode, int rot ) : System

Private Methods

Méthode Description
BlendPixel ( int imageOffset, int tileOffset ) : void
BlendTile ( ) : void
GetBlock ( int xx, int yy, int zz ) : byte
IsoCat ( ) : System

Method Details

Draw() public méthode

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

IsoCat() public méthode

public IsoCat ( MCDawn.Level level, IsoCatMode mode, int rot ) : System
level MCDawn.Level
mode IsoCatMode
rot int
Résultat System

Property Details

ChunkCoords public_oe property

public int[] ChunkCoords
Résultat int[]

Level public_oe property

public Level,MCDawn Level
Résultat MCDawn.Level

Mode public_oe property

public IsoCatMode Mode
Résultat IsoCatMode

Rot public_oe property

public int Rot
Résultat int