15 lines
483 B
C#
15 lines
483 B
C#
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);
|
|
}
|
|
} |