This commit is contained in:
NikolajDanger
2021-11-02 00:05:00 +01:00
parent fe2572f9f2
commit d9e27910cf
12 changed files with 742 additions and 53 deletions

15
Entities/IGameEntity.cs Normal file
View File

@ -0,0 +1,15 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
namespace Solitaire.Entities {
public interface IGameEntity {
int DrawOrder {get;}
bool Following {get;}
Vector2 Position {get;}
int Offset {get; set;}
void Update(GameTime gameTime, Vector2 mPosition, bool mReleased, bool mHolding, List<IGameEntity> entities);
void Draw(SpriteBatch spriteBatch, GameTime gameTime);
}
}