you could just do it like this, i think.

Code:
Function RotateMe()
{
my.pan += 2 * time_step;
}

on_a = Rotate_Me();




Wait, there isn't a "Make My Game Now" button?