Method | Description | |
---|---|---|
Attack ( |
Initializes a new instance of the Attack class.
|
|
RollDice ( ) : void |
Rolls all dice, and determines whether the attack is missed
|
|
SetDiceSides ( int diceSides ) : void |
Sets all dice to the side of the array given
|
|
ToString ( ) : string |
Gets the attack instance as a string
|
Method | Description | |
---|---|---|
CalculateStats ( ) : void |
Calculates the current values of range, damage, surges and pierce
|
|
ObjectInvariant ( ) : void |
public Attack ( |
||
attackingFigure | /// The attacking Figure. /// | |
targetSquare | /// The square that is attacked /// | |
return | System.Collections.Generic |
public SetDiceSides ( int diceSides ) : void | ||
diceSides | int | /// An array indicating the values of the dice face /// |
return | void |