✨
This commit is contained in:
15
Entities/IGameEntity.cs
Normal file
15
Entities/IGameEntity.cs
Normal 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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user