Mine
public text v1 · immutable public void start(Window callingWindow)
{
if (JT01.CollideAgainst(path1))
{
// perform action
JT01.XVelocity = 1;
}
if (JT01.CollideAgainst(path2))
{
// perform action
JT01.XVelocity = 0;
}
if (JT01.CollideAgainst(path3))
{
// perform action
JT01.XVelocity = 1;
}
if (JT01.CollideAgainst(wood))
{
// perform action
JT01.XVelocity = 1;
}
}