C# Class spaceconquest.Warship

Inheritance: Ship
Show file Open project: cclay/spaceconquest Class Usage Examples

Protected Properties

Property Type Description
damage int
firingpercent int
range int

Public Methods

Method Description
Attack ( Unit u ) : void
Draw ( Microsoft world, Microsoft view, Microsoft projection ) : void
GetRange ( ) : int
GetShootable ( ) : List
Warship ( ShipType st ) : System

Private Methods

Method Description
Shootable ( HashSet hexes, Hex3D h, int r ) : void

Method Details

Attack() public method

public Attack ( Unit u ) : void
u Unit
return void

Draw() public method

public Draw ( Microsoft world, Microsoft view, Microsoft projection ) : void
world Microsoft
view Microsoft
projection Microsoft
return void

GetRange() public method

public GetRange ( ) : int
return int

GetShootable() public method

public GetShootable ( ) : List
return List

Warship() public method

public Warship ( ShipType st ) : System
st ShipType
return System

Property Details

damage protected property

protected int damage
return int

firingpercent protected property

protected int firingpercent
return int

range protected property

protected int range
return int