C# Class Fight, verthex

Inheritance: AgentAction
Show file Open project: austinblakeslee/verthex Class Usage Examples

Public Properties

Property Type Description
firingSection int
targetPlayer int
targetSection int
targetTower int

Public Methods

Method Description
Fight ( int tNum, int firingSection, Tower, targetTower, int targetSection ) : System.Collections
Fight ( string actionMessage ) : System.Collections
GetActionMessage ( ) : string
Perform ( ) : void

Protected Methods

Method Description
ParseActionMessage ( string actionMessage ) : void

Method Details

Fight() public method

public Fight ( int tNum, int firingSection, Tower, targetTower, int targetSection ) : System.Collections
tNum int
firingSection int
targetTower Tower,
targetSection int
return System.Collections

Fight() public method

public Fight ( string actionMessage ) : System.Collections
actionMessage string
return System.Collections

GetActionMessage() public method

public GetActionMessage ( ) : string
return string

ParseActionMessage() protected method

protected ParseActionMessage ( string actionMessage ) : void
actionMessage string
return void

Perform() public method

public Perform ( ) : void
return void

Property Details

firingSection public property

public int firingSection
return int

targetPlayer public property

public int targetPlayer
return int

targetSection public property

public int targetSection
return int

targetTower public property

public int targetTower
return int