C# Class XCom.Type4File

Inheritance: IUnitFile
Mostra file Open project: pmprog/OpenXCOM.Tools Class Usage Examples

Public Methods

Method Description
Draw ( Bitmap b, int x, int y, bool underwater, bool male, bool isZombie, bool crouch, bool flying, Direction dir, ItemDescriptor weapon ) : void
Draw ( Graphics g, int x, int y, bool underwater, bool male, bool isZombie, bool crouch, bool flying, Direction dir, ItemDescriptor weapon ) : void
DrawFast ( Surface target, int x, int y, int width, int height, bool underwater, bool male, bool isZombie, bool flying, bool crouch, WeaponDescriptor weapon, Direction dir ) : void
DrawIndexes ( Direction dir, WeaponDescriptor weapon ) : int[]
DrawIndexes ( Direction dir, WeaponDescriptor weapon, bool flying, bool underwater, bool isZombie, bool male, bool crouch ) : int[]
Type4File ( Type4Descriptor desc ) : System
Type4File ( Type4Descriptor desc, bool useZombie, bool useFlyable ) : System

Method Details

Draw() public method

public Draw ( Bitmap b, int x, int y, bool underwater, bool male, bool isZombie, bool crouch, bool flying, Direction dir, ItemDescriptor weapon ) : void
b Bitmap
x int
y int
underwater bool
male bool
isZombie bool
crouch bool
flying bool
dir Direction
weapon ItemDescriptor
return void

Draw() public method

public Draw ( Graphics g, int x, int y, bool underwater, bool male, bool isZombie, bool crouch, bool flying, Direction dir, ItemDescriptor weapon ) : void
g Graphics
x int
y int
underwater bool
male bool
isZombie bool
crouch bool
flying bool
dir Direction
weapon ItemDescriptor
return void

DrawFast() public method

public DrawFast ( Surface target, int x, int y, int width, int height, bool underwater, bool male, bool isZombie, bool flying, bool crouch, WeaponDescriptor weapon, Direction dir ) : void
target Surface
x int
y int
width int
height int
underwater bool
male bool
isZombie bool
flying bool
crouch bool
weapon WeaponDescriptor
dir Direction
return void

DrawIndexes() public method

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

DrawIndexes() public method

public DrawIndexes ( Direction dir, WeaponDescriptor weapon, bool flying, bool underwater, bool isZombie, bool male, bool crouch ) : int[]
dir Direction
weapon WeaponDescriptor
flying bool
underwater bool
isZombie bool
male bool
crouch bool
return int[]

Type4File() public method

public Type4File ( Type4Descriptor desc ) : System
desc Type4Descriptor
return System

Type4File() public method

public Type4File ( Type4Descriptor desc, bool useZombie, bool useFlyable ) : System
desc Type4Descriptor
useZombie bool
useFlyable bool
return System