mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-12 20:01:11 +03:00
18 lines
447 B
C#
18 lines
447 B
C#
using System;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Server.Speech.Components
|
|
{
|
|
[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);
|
|
}
|
|
}
|
|
}
|