C# Класс XCom.Type4File

Наследование: IUnitFile
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Draw() публичный Метод

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
Результат void

Draw() публичный Метод

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
Результат void

DrawFast() публичный Метод

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
Результат void

DrawIndexes() публичный Метод

public DrawIndexes ( Direction dir, WeaponDescriptor weapon ) : int[]
dir Direction
weapon WeaponDescriptor
Результат int[]

DrawIndexes() публичный Метод

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
Результат int[]

Type4File() публичный Метод

public Type4File ( Type4Descriptor desc ) : System
desc Type4Descriptor
Результат System

Type4File() публичный Метод

public Type4File ( Type4Descriptor desc, bool useZombie, bool useFlyable ) : System
desc Type4Descriptor
useZombie bool
useFlyable bool
Результат System