示例#1
0
 public MoveRange(Enums.RangeType rangeType, int mobility, bool cutsCorners, int distance, bool hitsSelf, bool hitsFriend, bool hitsFoe)
 {
     RangeType   = rangeType;
     Mobility    = mobility;
     CutsCorners = cutsCorners;
     Distance    = distance;
     HitsSelf    = hitsSelf;
     HitsFriend  = hitsFriend;
     HitsFoe     = hitsFoe;
 }
 public SpawnData(Enums.SpawnElement element, Enums.SpawnType type, Enums.RangeType rangeType, float hp, float damage, float speed, float range)
 {
     _element   = element;
     _type      = type;
     _rangeType = rangeType;
     _hp        = hp;
     _damage    = damage;
     _speed     = speed;
     _range     = range;
 }
示例#3
0
文件: Range.cs 项目: sundowndk/qnax
 public Range()
 {
     this._id = Guid.NewGuid ();
     this._createtimestamp = SNDK.Date.CurrentDateTimeToTimestamp ();
     this._updatetimestamp = SNDK.Date.CurrentDateTimeToTimestamp ();
     this._countrycodeid = Guid.Empty;
     this._type = qnaxLib.Enums.RangeType.Landline;
     this._name = string.Empty;
     this._dialcodes = new List<string> ();
     this._costpriceids = new List<Guid> ();
 }
示例#4
0
        public TileMoveAnimation(Loc2D startLoc, int animIndex, RenderTime animTime, int loops, Enums.RangeType rangeType, Maps.Direction8 dir, int range, RenderTime stallTime)
        {
            AnimationIndex = animIndex;
            FrameLength    = animTime;
            TotalLoops     = loops;
            StartLoc       = startLoc;
            RangeType      = rangeType;
            Direction      = dir;
            TotalDistance  = range;
            StallTime      = stallTime;

            FrameTime = StallTime;
        }