2018-04-13 17:19:50 +08:00
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
2018-06-06 13:07:50 +08:00
|
|
|
using System;
|
|
|
|
using System.Linq;
|
|
|
|
|
2018-04-13 17:19:50 +08:00
|
|
|
namespace osu.Game.Rulesets.Mods
|
|
|
|
{
|
|
|
|
public class MultiMod : Mod
|
|
|
|
{
|
|
|
|
public override string Name => string.Empty;
|
2018-11-30 16:16:00 +08:00
|
|
|
public override string Acronym => string.Empty;
|
2018-04-13 17:19:50 +08:00
|
|
|
public override string Description => string.Empty;
|
|
|
|
public override double ScoreMultiplier => 0;
|
|
|
|
|
2018-06-06 13:07:50 +08:00
|
|
|
public Mod[] Mods { get; }
|
|
|
|
|
|
|
|
public MultiMod(params Mod[] mods)
|
|
|
|
{
|
|
|
|
Mods = mods;
|
|
|
|
}
|
|
|
|
|
|
|
|
public override Type[] IncompatibleMods => Mods.SelectMany(m => m.IncompatibleMods).ToArray();
|
2018-04-13 17:19:50 +08:00
|
|
|
}
|
|
|
|
}
|