コード例 #1
0
 public Skill(string xname, string xdescription, SkillTypes xtype, RangeScope xrange, float xbp, int xcost, SecondaryEffects xeffect = SecondaryEffects.None, int xduration = 3, float xactivationrate = 1.0f)
 {
     name           = xname;
     description    = xdescription;
     type           = xtype;
     range          = xrange;
     bp             = xbp;
     cost           = xcost;
     duration       = xduration;
     effect         = xeffect;
     activationrate = xactivationrate;
 }
コード例 #2
0
 /// <summary>
 /// Initiales a new instance of the exception.
 /// </summary>
 /// <param name="scope">An enum indicating the scope of the missing named range.</param>
 /// <param name="rngNm">The name of the missing named range.</param>
 /// <param name="parentWsh">For a locally-scoped range the name of the parent worksheet.</param>
 public MissingInvalidNmdRngException(RangeScope scope, string rngNm, string parentWsh = "")
 {
     _scopeEnum = scope;
     _nmdRng    = rngNm;
     _pWsh      = parentWsh;
 }