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