GameControllerScript.BattleAction.BattleAction C# (CSharp) Method

BattleAction() public method

public BattleAction ( Type, theType, string theName, int hitMod, DiceControllerScript.Roll, theRoll = null ) : System.Collections
theType Type,
theName string
hitMod int
theRoll DiceControllerScript.Roll,
return System.Collections
        public BattleAction(Type theType, string theName, int hitMod=0, Roll theRoll=null)
        {
            type = theType;
            name = theName;

            if(null != theRoll)	//  leave it uninitialized, bleh
                roll = theRoll;

            hitModifier = hitMod;
        }
GameControllerScript.BattleAction