Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* global Obs = getObstacles();
- function initialiseObstacles(){
- if(Obs[613]!=true){
- var tab = [];
- for(var key : var value in Obs){tab[value]=true;}
- Obs = tab;
- Obs[613]=true;
- }
- }
- debug(Obs);
- initialiseObstacles();
- debug(Obs);
- debug(getOperations()); */
- global Obs = getObstacles();
- debug(Obs);
- if(getTurn() == 1){
- var tab = [];
- for(var key : var value in Obs){tab[value]=true;}
- Obs = tab;
- }
- debug(Obs);
- debug(getOperations());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement