C# Class TurnAction, verthex

Datei anzeigen Open project: austinblakeslee/verthex Class Usage Examples

Public Properties

Property Type Description
actionName string
cost int
playerNumber int
towerNumber int

Public Methods

Method Description
GetActionForMessage ( string message ) : TurnAction,
GetActionMessage ( ) : string
Perform ( ) : void
TurnAction ( string actionName ) : System.Collections

Protected Methods

Method Description
FormatActionMessage ( ) : string
ParseActionMessage ( string actionMessage ) : void

Method Details

FormatActionMessage() protected method

protected FormatActionMessage ( ) : string
return string

GetActionForMessage() public static method

public static GetActionForMessage ( string message ) : TurnAction,
message string
return TurnAction,

GetActionMessage() public abstract method

public abstract GetActionMessage ( ) : string
return string

ParseActionMessage() protected abstract method

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

Perform() public abstract method

public abstract Perform ( ) : void
return void

TurnAction() public method

public TurnAction ( string actionName ) : System.Collections
actionName string
return System.Collections

Property Details

actionName public_oe property

public string actionName
return string

cost public_oe property

public int cost
return int

playerNumber public_oe property

public int playerNumber
return int

towerNumber public_oe property

public int towerNumber
return int