Exemple #1
0
 static public void DrawSpace(SpaceDraw spaceDraw, int x, int y)
 {
     for (int i = 0; i < x; i++)
     {
         for (int j = 0; j < y; j++)
         {
             spaceDraw.AddImage("./images/space.gif", i * 50, j * 50);
         }
     }
 }
Exemple #2
0
 public void DrawShip(string filename)
 {
     spaceDraw.AddImage(filename, posx * 50, posy * 50);
 }