21 lines
378 B
Plaintext
21 lines
378 B
Plaintext
![]() |
extern void object::Solution( )
|
||
|
{
|
||
|
for ( int i=0 ; i<3 ; i=i+1 )
|
||
|
{
|
||
|
object item;
|
||
|
point dest;
|
||
|
|
||
|
item = radar(Titanium, 0, 360, 0, 1000, -1);
|
||
|
if ( item == null ) return;
|
||
|
goto(item.position);
|
||
|
|
||
|
grab(); // grab the titanium cube
|
||
|
|
||
|
dest.x = 10;
|
||
|
dest.y = -60-5*i;
|
||
|
goto(dest); // go to the plateform
|
||
|
|
||
|
drop(); // drop the titanium cube
|
||
|
}
|
||
|
}
|
||
|
|