Ejemplo n.º 1
0
        public override void blink(PiecePlaces piecePlaces)
        {
            XElement pit = world.getPitElement(pitname);

            foreach (XElement pitfall in pit.Elements("pitfall"))
            {
                string id = pitfall.Attribute("id").Value;
                int nr = Convert.ToInt16(id.Substring(1));

                if (piecePlaces.hasPiece(nr))
                {
                    blinkRect = getRect(pitfall);
                    blinkStart = currentGameTime.TotalGameTime;

                }
            }
        }
Ejemplo n.º 2
0
        public override void blink(PiecePlaces piecePlaces)
        {
            XElement pit = world.getPitElement(pitname);

            foreach (XElement pitfall in pit.Elements("pitfall"))
            {
                string id = pitfall.Attribute("id").Value;
                int nr = Convert.ToInt16(id.Substring(1));

                if (piecePlaces.hasPiece(nr))
                {
                    blinkRect = getRect(pitfall);
                    blinkStart = currentGameTime.TotalGameTime;

                }
            }
        }
Ejemplo n.º 3
0
 public GameScreen(EtGame theGame)
     : base(theGame)
 {
     piecePlaces = new PiecePlaces();
 }
Ejemplo n.º 4
0
 public virtual void blink(PiecePlaces piecePlaces)
 {
 }
Ejemplo n.º 5
0
 public GameScreen(EtGame theGame) : base(theGame)
 {
     piecePlaces = new PiecePlaces();
 }
Ejemplo n.º 6
0
 public virtual void blink(PiecePlaces piecePlaces)
 {
 }