mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 19:32:58 +08:00
26 lines
723 B
C#
26 lines
723 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using System;
|
|
using System.Linq;
|
|
|
|
namespace osu.Game.Rulesets.Mods
|
|
{
|
|
public class MultiMod : Mod
|
|
{
|
|
public override string Name => string.Empty;
|
|
public override string ShortenedName => string.Empty;
|
|
public override string Description => string.Empty;
|
|
public override double ScoreMultiplier => 0;
|
|
|
|
public Mod[] Mods { get; }
|
|
|
|
public MultiMod(params Mod[] mods)
|
|
{
|
|
Mods = mods;
|
|
}
|
|
|
|
public override Type[] IncompatibleMods => Mods.SelectMany(m => m.IncompatibleMods).ToArray();
|
|
}
|
|
}
|