mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 02:27:08 +02:00
Add more utilities, most notably IRsiStateLike, to make working with SpriteSpecifiers easier. Especially when animated.
13 lines
341 B
C#
13 lines
341 B
C#
namespace Robust.Client.Graphics
|
|
{
|
|
public interface IRsiStateLike : IDirectionalTextureProvider
|
|
{
|
|
RSI.State.DirectionType Directions { get; }
|
|
bool IsAnimated { get; }
|
|
int AnimationFrameCount { get; }
|
|
|
|
float GetDelay(int frame);
|
|
Texture GetFrame(RSI.State.Direction dir, int frame);
|
|
}
|
|
}
|