{
private Circle sun;
private Circle moon;
public static void main (String[] args)
{
Scene scene = new Scene();
Scene.animate();
}
public void animate()
{
sun.slowMoveHorizontal(5);
moon.slowMoveHorizontal(5);
}
//I am trying to add a call to animate in my main method, but I get an error with this code. How would I call animate correctly?