extern void object::Solution() { object item; aim(0); while (true) { while(radar(AlienWasp, 0, 360, 0, 20) == null) { item = radar(AlienWasp); turn(direction(item.position)); motor(1,1); jet(0); if(position.z > item.position.z) { jet(-0.3); } if(position.z < item.position.z - 1) { jet(0.3); } wait(0.2); } item = radar(AlienWasp); turn(direction(item.position)); fire(1); } }