Add some minor setup behavior to DummyGameTicker by giving it a common base with normal GameTicker.

Necessary for the game to, well, function.
This commit is contained in:
Pieter-Jan Briers
2020-08-21 17:41:50 +02:00
parent 1f1e95f535
commit d5c4ed819c
3 changed files with 55 additions and 25 deletions

View File

@@ -2,14 +2,13 @@ using System;
using System.Collections.Generic;
using Content.Server.GameTicking;
using Content.Server.Interfaces.GameTicking;
using Content.Shared;
using Robust.Server.Interfaces.Player;
using Robust.Shared.Map;
using Robust.Shared.Timing;
namespace Content.IntegrationTests
{
public class DummyGameTicker : SharedGameTicker, IGameTicker
public class DummyGameTicker : GameTickerBase, IGameTicker
{
public GameRunLevel RunLevel { get; } = GameRunLevel.InRound;
@@ -25,10 +24,6 @@ namespace Content.IntegrationTests
remove { }
}
public void Initialize()
{
}
public void Update(FrameEventArgs frameEventArgs)
{
}