extern void object::Recharge1() { point start; // variable for initial pos. object item; // info. about power station start = position; // stores initial position item = radar(PowerStation); // looks for station goto(item.position); // goes to the power station wait(5); // waits 5 seconds goto(start); // comes back to initial pos. }