Esempio n. 1
0
 public void Draw(RenderWindow target)
 {
     Map.Draw(target, RenderStates.Default);
     snake.Draw(target, RenderStates.Default);
     Food.Draw(target, RenderStates.Default);
 }
Esempio n. 2
0
 public void Render(RenderWindow window)
 {
     snake.Draw(window, RenderStates.Default);
     Score.Draw(window, RenderStates.Default);
 }