Ejemplo n.º 1
0
 public BoxGroup(BoxGroup other)
 {
     ID = other.ID;
     activeFramesStart = other.activeFramesStart;
     activeFramesEnd   = other.activeFramesEnd;
     hitGroupType      = other.hitGroupType;
     boxes             = new List <BoxDefinition>(other.boxes);
     attachToEntity    = other.attachToEntity;
     hitboxHitInfo     = new HitInfo(other.hitboxHitInfo);
 }
Ejemplo n.º 2
0
 public BoxGroup(BoxGroup other)
 {
     ID = other.ID;
     activeFramesStart = other.activeFramesStart;
     activeFramesEnd   = other.activeFramesEnd;
     hitGroupType      = other.hitGroupType;
     attachToEntity    = other.attachToEntity;
     if (other.hitboxHitInfo.GetType() == typeof(HitInfo))
     {
         hitboxHitInfo = new HitInfo((HitInfo)other.hitboxHitInfo);
     }
     boxes = new List <BoxDefinitionBase>();
 }