public void Update()
{
update = !update;
if ( !update )
return;
time += 0.03 / 2;
if ( time >= 6 ) {
time = 0;
}
if ( time < 3 ) {
pos.X += 1;
heading = 64;
} else if ( time < 6 ) {
pos.X -= 1;
heading = 196;
}
if ( Move != null )
Move( this, pos, heading, pitch );
}