public ChestResult(ChestResultType resultType, int gilAmount) { if (resultType == ChestResultType.Gil) { _result = gilAmount; } else { _result = (int)resultType; } }
public ChestResult(ChestResultType result) { _result = (int)result; }