Exemple #1
0
        public override void ShowStats(SpriteBatch batch)
        {
            int Y = (int)(Constants.GameSize.Y * .2f);
            int X = Constants.GameSize.X;

            commandCard.Draw(new Point(X, Y), batch);
        }
Exemple #2
0
        public override void ShowStats(SpriteBatch batch)
        {
            int Y = (int)(Constants.GameSize.Y * .2f);
            int X = Constants.GameSize.X;

            if (wall)
            {
                wallCard.Draw(new Point(X, Y), batch);
            }
            else if (portal)
            {
                portalCard.Draw(new Point(X, Y), batch);
            }
            else if (cheese)
            {
                cheeseCard.Draw(new Point(X, Y), batch);
            }
            else
            {
                emptyCard.Draw(new Point(X, Y), batch);
            }
        }