C# Class SCSharp.UI.MapRenderer

ファイルを表示 Open project: kangaroo/scsharp Class Usage Examples

Public Methods

Method Description
MapRenderer ( Mpq mpq, Chk chk ) : System
MapRenderer ( Mpq mpq, Chk chk, int width, int height ) : System
Paint ( System.DateTime dt ) : void
RenderToBitmap ( Mpq mpq, Chk chk ) : byte[]
RenderToSurface ( ) : SdlDotNet.Graphics.Surface
SetUpperLeft ( int x, int y ) : void

Private Methods

Method Description
GetTile ( int mapTile ) : SdlDotNet.Graphics.Surface

Method Details

MapRenderer() public method

public MapRenderer ( Mpq mpq, Chk chk ) : System
mpq Mpq
chk Chk
return System

MapRenderer() public method

public MapRenderer ( Mpq mpq, Chk chk, int width, int height ) : System
mpq Mpq
chk Chk
width int
height int
return System

Paint() public method

public Paint ( System.DateTime dt ) : void
dt System.DateTime
return void

RenderToBitmap() public method

public RenderToBitmap ( Mpq mpq, Chk chk ) : byte[]
mpq Mpq
chk Chk
return byte[]

RenderToSurface() public method

public RenderToSurface ( ) : SdlDotNet.Graphics.Surface
return SdlDotNet.Graphics.Surface

SetUpperLeft() public method

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