Files
Solitaire/Entities/CardPosition.cs
NikolajDanger d9e27910cf
2021-11-02 00:05:00 +01:00

30 lines
888 B
C#

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
namespace Solitaire.Entities {
public class CardPosition: IGameEntity {
const int SelectedOffset = 0;
public int Offset {get; set;} = 0;
public bool TopPile = false;
public bool Deck = false;
public Vector2 Position {get; set;}
public CardPosition child = null;
public bool Stationary = true;
public int DrawOrder {get; set;}
public bool Following {get; set;} = false;
public CardPosition(Vector2 position) {
Position = position;
}
public virtual void Draw(SpriteBatch spriteBatch, GameTime gameTime) {
}
public virtual void Update(GameTime gameTime, Vector2 mPosition, bool mReleased, bool mHolding, List<IGameEntity> entities) {
}
}
}