Course2 lesson5

Point A with coordinates y = 20 and x= 3
A (3,-20)
A(3 20)
A (20,3)
A (3, 20)
Choose the correct code to build a fence at y= 54 and x = 36
Hero.buildXY(“fence”, 36,54)
Hero.builsXY(“fence”, “36”, “54”)
Hero.buildXY(“fence”,36,54)
Hero.build(“fence”, 36, 54)
game.spawnXY(“knight”,23,35) spawn a fence 10 units away at the top of hero.
Hero.spawnxy(“fence”,33,35)
Hero.spawnXY(“fence”,23,45)
Hero.spawnXY(“fence”,33,45)
Hero.spawnxy(“fence”,33,35)
Choose the right code to check if the enemy exists then attack
0%
0
 
0%
0
 
0%
0
 
0%
0
 
Choose the right code to spawn a player
Game.spawnPlayerXY(“knight”, 10,10)
Game.SpawnXY(“knight”, 10,10)
Game.SpawnPlayerXY(“knight”, 10,10)
Game.spawnPlayerXY(“knight”, 10,10)
How to check if cleave is ready?
If hero.isReady(“cleave”)
If hero.IsReady(“Cleave”):
If cleave.isReady:
If hero.isReady(“cleave”):
Choose the right code to find the distance to the enemy
Distance=Hero.distanceto(enemy)
D=hero.distanceTo(enemy)
D=hero.findDistanceTo(enemy)
Dis=hero.distanceto(enemy)
{"name":"Course2 lesson5", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Point A with coordinates y = 20 and x= 3, Choose the correct code to build a fence at y= 54 and x = 36, game.spawnXY(“knight”,23,35) spawn a fence 10 units away at the top of hero.","img":"https://www.quiz-maker.com/3012/CDN/87-4206216/picture2.jpg?sz=1200-00000013541000005300"}
Make your own Survey
- it's free to start.