public MountDef(string displayName, Func <MountBehaviour> newBehaviour = null, MountTextureData front = default(MountTextureData), MountTextureData back = default(MountTextureData), BuffRef buff = null) : base(displayName, newBehaviour) { Front = front; Back = back; AllFrameData = MountFrameData.None; Buff = buff; ExpertBuff = buff; MinecartDust = Empty <Vector2> .Action; }
/// <summary> /// Constructs a new <see cref="AppliedBuff"/> structure. /// </summary> /// <param name="type"><see cref="AppliedBuff.Type"/></param> /// <param name="duration"><see cref="AppliedBuff.Duration"/></param> public AppliedBuff(BuffRef type, int duration) { Type = type; Duration = duration; }