Changeset 76
- Timestamp:
- 12/03/07 18:49:10 (1 year ago)
- Files:
-
- trunk/src/tilemap.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/tilemap.d
r75 r76 167 167 168 168 // setup the bounds of the level 169 walls[0] = new Box(Size(pixWidth,30), 100000);169 walls[0] = new Box(Size(pixWidth,30), float.max); 170 170 walls[0].translation.set(pixWidth/2-width/2*tileDefault.getSize.w, 0 - 6-height/2*tileDefault.getSize.h); 171 171 addChild(walls[0]); 172 172 173 walls[1] = new Box(Size(pixWidth,30), 100000);173 walls[1] = new Box(Size(pixWidth,30), float.max); 174 174 walls[1].translation.set(pixWidth/2-width/2*tileDefault.getSize.w, pixHeight + 6-height/2*tileDefault.getSize.h); 175 175 addChild(walls[1]); 176 176 177 walls[2] = new Box(Size(30,pixHeight), 100000);177 walls[2] = new Box(Size(30,pixHeight), float.max); 178 178 walls[2].translation.set(0 - 6-width/2*tileDefault.getSize.w, pixHeight/2-height/2*tileDefault.getSize.h); 179 179 addChild(walls[2]); 180 180 181 walls[3] = new Box(Size(30,pixHeight), 100000);181 walls[3] = new Box(Size(30,pixHeight), float.max); 182 182 walls[3].translation.set(pixWidth + 6-width/2*tileDefault.getSize.w, pixHeight/2-height/2*tileDefault.getSize.h); 183 183 addChild(walls[3]);
