Files
tbd-station-14/Content.Server/GameObjects/Components/Mobs/Speech/BackwardsAccentComponent.cs
DrSmugleaf 74943a2770 Typo, redundant string interpolation, namespaces and imports cleanup (#2068)
* Readonly, typos and redundant string interpolations

* Namespaces

* Optimize imports

* Address reviews

* but actually

* Localize missing strings

* Remove redundant vars
2020-09-13 14:23:52 +02:00

19 lines
464 B
C#

using System;
using Robust.Shared.GameObjects;
namespace Content.Server.GameObjects.Components.Mobs.Speech
{
[RegisterComponent]
public class BackwardsAccentComponent : Component, IAccentComponent
{
public override string Name => "BackwardsAccent";
public string Accentuate(string message)
{
var arr = message.ToCharArray();
Array.Reverse(arr);
return new string(arr);
}
}
}