19 lines
398 B
C#
19 lines
398 B
C#
|
using Encompass;
|
||
|
using Microsoft.Xna.Framework;
|
||
|
using Microsoft.Xna.Framework.Graphics;
|
||
|
|
||
|
namespace KavTest
|
||
|
{
|
||
|
public struct SpriteComponent : IComponent
|
||
|
{
|
||
|
public Texture2D Texture { get; }
|
||
|
public Vector2 Origin { get; }
|
||
|
|
||
|
public SpriteComponent(Texture2D texture, Vector2 origin)
|
||
|
{
|
||
|
Texture = texture;
|
||
|
Origin = origin;
|
||
|
}
|
||
|
}
|
||
|
}
|