Exemplo n.º 1
0
 /// <summary>
 /// Dessine l'objet
 /// </summary>
 /// <param name="gameInstance">Instance de la partie en cours</param>
 /// <param name="graphics">Graphisme a utiliser</param>
 public override void Draw(Game gameInstance, Graphics graphics)
 {
     sprite.Draw().SetResolution(graphics.DpiX, graphics.DpiY);
     graphics.DrawImage(sprite.Draw(), (float)position.X, (float)position.Y);
 }