C# Class XCom.Type0File

Inheritance: IUnitFile
显示文件 Open project: pmprog/OpenXCOM.Tools Class Usage Examples

Public Methods

Method Description
Draw ( Bitmap b, int x, int y, Direction dir, ItemDescriptor weapon ) : void
Draw ( Graphics g, int x, int y, Direction dir, ItemDescriptor weapon ) : void
DrawFast ( Surface target, int x, int y, int width, int height, Direction dir, WeaponDescriptor weapon ) : void
DrawIndexes ( Direction dir, WeaponDescriptor weapon ) : int[]
Type0File ( Type0Descriptor desc, int numImages ) : System
Type0File ( Type0Descriptor desc, int numImages, int offset ) : System

Method Details

Draw() public method

public Draw ( Bitmap b, int x, int y, Direction dir, ItemDescriptor weapon ) : void
b Bitmap
x int
y int
dir Direction
weapon ItemDescriptor
return void

Draw() public method

public Draw ( Graphics g, int x, int y, Direction dir, ItemDescriptor weapon ) : void
g Graphics
x int
y int
dir Direction
weapon ItemDescriptor
return void

DrawFast() public method

public DrawFast ( Surface target, int x, int y, int width, int height, Direction dir, WeaponDescriptor weapon ) : void
target Surface
x int
y int
width int
height int
dir Direction
weapon WeaponDescriptor
return void

DrawIndexes() public method

public DrawIndexes ( Direction dir, WeaponDescriptor weapon ) : int[]
dir Direction
weapon WeaponDescriptor
return int[]

Type0File() public method

public Type0File ( Type0Descriptor desc, int numImages ) : System
desc Type0Descriptor
numImages int
return System

Type0File() public method

public Type0File ( Type0Descriptor desc, int numImages, int offset ) : System
desc Type0Descriptor
numImages int
offset int
return System