2022-01-07 18:54:06 +01:00
|
|
|
|
using Robust.Client.GameObjects;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.MapRenderer.Painters
|
|
|
|
|
|
{
|
2022-02-16 00:23:23 -07:00
|
|
|
|
public sealed class EntityData
|
2022-01-07 18:54:06 +01:00
|
|
|
|
{
|
|
|
|
|
|
public EntityData(SpriteComponent sprite, float x, float y)
|
|
|
|
|
|
{
|
|
|
|
|
|
Sprite = sprite;
|
|
|
|
|
|
X = x;
|
|
|
|
|
|
Y = y;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public SpriteComponent Sprite { get; }
|
|
|
|
|
|
|
|
|
|
|
|
public float X { get; }
|
|
|
|
|
|
|
|
|
|
|
|
public float Y { get; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|