خرید بک لینک

Vote count: 0

How clear this stage?..

please help me..

Line9 : Type error : Can't read protected property : MoveXY

// Collect 25 gold, and then tell Naria the total.
// Use break to stop collecting when totalGold >= 25.

var totalGold = 0;
var coin = 0;

while (true) { 
coin = this.findNearestItem();
this.moveXY(this.pos.x,this.pos.y);
totalGold = totalGold + coin.value;

if(totalGold >= 25){
 break;   
}
}

this.moveXY(58,33);
this.say("I Have " + totalGold + "coins");
    
asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 1 خرداد 1395 ساعت: 12:28

صفحه بندی