mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Fix undefined
15 lines
356 B
C#
15 lines
356 B
C#
using System.Collections;
|
|
using System.Linq;
|
|
using Robust.Shared.Map;
|
|
using Robust.Shared.Random;
|
|
|
|
namespace Content.Shared.Directions;
|
|
|
|
public static class SharedDirectionExtensions
|
|
{
|
|
public static EntityCoordinates Offset(this EntityCoordinates coordinates, Direction direction)
|
|
{
|
|
return coordinates.Offset(direction.ToVec());
|
|
}
|
|
}
|