mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
They no longer load system-wide config or user data. User data is emulated through a VFS. Also added more hooks to improve the customizability of the test, for example allowing content to hijack their IoC registrations.
62 lines
1.2 KiB
C#
62 lines
1.2 KiB
C#
using Robust.Client;
|
|
using Robust.Client.Input;
|
|
using Robust.Client.Interfaces;
|
|
using Robust.Shared.Timing;
|
|
|
|
namespace Robust.UnitTesting
|
|
{
|
|
internal sealed class GameControllerDummy : IGameControllerInternal
|
|
{
|
|
public void Shutdown(string reason = null)
|
|
{
|
|
}
|
|
|
|
public bool LoadConfigAndUserData { get; set; } = true;
|
|
|
|
public void Startup()
|
|
{
|
|
|
|
}
|
|
|
|
public void MainLoop(GameController.DisplayMode mode)
|
|
{
|
|
|
|
}
|
|
|
|
public string ContentRootDir { get; set; }
|
|
|
|
public void KeyDown(KeyEventArgs keyEvent)
|
|
{
|
|
}
|
|
|
|
public void KeyUp(KeyEventArgs keyEvent)
|
|
{
|
|
}
|
|
|
|
public void TextEntered(TextEventArgs textEvent)
|
|
{
|
|
}
|
|
|
|
public void MouseDown(MouseButtonEventArgs mouseEvent)
|
|
{
|
|
}
|
|
|
|
public void MouseUp(MouseButtonEventArgs mouseButtonEventArgs)
|
|
{
|
|
}
|
|
|
|
public void MouseMove(MouseMoveEventArgs mouseMoveEventArgs)
|
|
{
|
|
}
|
|
|
|
public void MouseWheel(MouseWheelEventArgs mouseWheelEventArgs)
|
|
{
|
|
}
|
|
|
|
public void OverrideMainLoop(IGameLoop gameLoop)
|
|
{
|
|
throw new System.NotImplementedException();
|
|
}
|
|
}
|
|
}
|