mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
18 lines
560 B
C#
18 lines
560 B
C#
using Robust.Client.GameObjects;
|
|
using Robust.Shared.Console;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Robust.Client.Console.Commands
|
|
{
|
|
public sealed class VelocitiesCommand : IConsoleCommand
|
|
{
|
|
public string Command => "showvelocities";
|
|
public string Description => "Displays your angular and linear velocities";
|
|
public string Help => $"{Command}";
|
|
public void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
{
|
|
EntitySystem.Get<VelocityDebugSystem>().Enabled ^= true;
|
|
}
|
|
}
|
|
}
|