All pastes #898249 Raw Edit

Mine

public text v1 · immutable
·published 2008-02-10 05:01 UTC
rendered paste body
  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;
            }
         
        }