[Solved] Uppdating a variable [closed]

[ad_1]

in class 1 create a method like this

public void Update()
{
// Put logic here to update position for your ball on the curve.
}

Call update from class 2 when you increment the time.

private void Timer1_Tick(object sender, EventArgs e)
{
    Class1.Update();
    a += 1
}

1

[ad_2]

solved Uppdating a variable [closed]