Changeset 12062 for code/branches/OrxoKart_HS18/src/modules/hover
- Timestamp:
- Oct 31, 2018, 10:56:46 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoKart_HS18/src/modules/hover/Hover.cc
r11495 r12062 70 70 generator.generateMaze(); 71 71 generator.renderMaze(); 72 int levelcodeArray[] = {1,1,1,1,1,1,1,1,0,0,0 73 ,1,0,0,0,0,0,0,1,1,1,0 74 ,1,0,1,1,1,1,0,0,0,1,1 75 ,1,1,1,0,0,1,1,0,0,0,1 76 ,0,0,0,0,0,0,1,0,1,1,1 77 ,1,1,1,1,1,1,1,0,1,0,0 78 ,1,0,0,0,0,0,0,0,1,0,0 79 ,1,0,0,0,0,0,0,0,1,0,0 80 ,1,1,1,1,1,0,0,0,1,1,1 81 ,0,0,0,0,1,0,0,0,0,0,1 82 ,0,0,0,0,1,1,1,1,1,1,1}; 83 //int* levelcode = generator.getLevelcode(); 84 int* levelcode = levelcodeArray; 72 85 73 int* levelcode = generator.getLevelcode();74 86 75 87 //Outer Walls … … 87 99 case 1: (new HoverWall(origin_->getContext()))->init(x+1, numCells-y, cellSize, cellHeight, 1); 88 100 break; 89 case 3: (new HoverWall(origin_->getContext()))->init(x+1, numCells-y, cellSize, cellHeight, 1);90 case 2: (new HoverWall(origin_->getContext()))->init(x+1, numCells-y, cellSize, cellHeight, 0);101 //case 3: (new HoverWall(origin_->getContext()))->init(x+1, numCells-y, cellSize, cellHeight, 1); 102 //case 2: (new HoverWall(origin_->getContext()))->init(x+1, numCells-y, cellSize, cellHeight, 0); 91 103 default: break; 92 104 }
Note: See TracChangeset
for help on using the changeset viewer.