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; } } }
public GameScreen(EtGame theGame) : base(theGame) { piecePlaces = new PiecePlaces(); }
public virtual void blink(PiecePlaces piecePlaces) { }