Update submodule
This commit is contained in:
18
Content.Server/GameTicking/GamePresets/PresetDeathMatch.cs
Normal file
18
Content.Server/GameTicking/GamePresets/PresetDeathMatch.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Content.Server.GameTicking.GameRules;
|
||||
using Content.Server.Interfaces.GameTicking;
|
||||
using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Server.GameTicking.GamePresets
|
||||
{
|
||||
public sealed class PresetDeathMatch : GamePreset
|
||||
{
|
||||
#pragma warning disable 649
|
||||
[Dependency] private readonly IGameTicker _gameTicker;
|
||||
#pragma warning restore 649
|
||||
|
||||
public override void Start()
|
||||
{
|
||||
_gameTicker.AddGameRule<RuleDeathMatch>();
|
||||
}
|
||||
}
|
||||
}
|
||||
7
Content.Server/GameTicking/GameRule.cs
Normal file
7
Content.Server/GameTicking/GameRule.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Content.Server.GameTicking
|
||||
{
|
||||
public class GameRule
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
7
Content.Server/GameTicking/GameRules/RuleDeathMatch.cs
Normal file
7
Content.Server/GameTicking/GameRules/RuleDeathMatch.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Content.Server.GameTicking.GameRules
|
||||
{
|
||||
public class DeathMatch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Submodule RobustToolbox updated: c83ad3ab94...0340cecd6d
Reference in New Issue
Block a user