Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (FIRST_PART) {
- if(OBSTACLE_LOCATION) {
- addObstacle(17, 43);
- }
- else {
- addObstacle(25, 43);
- addObstacle(21, 43);
- }
- addObstacle(24,61);
- splitInHalf();
- addWall();
- } else {
- addFullWall();
- //green
- if(ApproachObstacle.colourRead){
- addObstacle(64, 37);
- addObstacle(64, 40);
- //addObstacle(67, 37);
- obstacle[35][16] = true;
- obstacle[35][17] = true;
- obstacle[35][18] = true;
- obstacle[35][19] = true;
- obstacle[35][20] = true;
- obstacle[35][21] = true;
- obstacle[35][22] = true;
- obstacle[36][16] = true;
- obstacle[36][17] = true;
- obstacle[36][18] = true;
- obstacle[36][19] = true;
- obstacle[36][20] = true;
- obstacle[36][21] = true;
- obstacle[36][22] = true;
- for(int i = 17; i <= 22; ++i)
- obstacle[37][i] = true;
- }
- else {
- for(int i = 16; i <= 22; ++i)
- obstacle[31][i] = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement