Changeset 64
- Timestamp:
- 12/02/07 15:31:22 (1 year ago)
- Files:
-
- trunk/src/player.d (added)
- trunk/src/tilemap.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/tilemap.d
r63 r64 115 115 } 116 116 117 class TileMap : GroupNode, IDrawable117 class TileMap : World /*GroupNode, IDrawable*/ 118 118 { 119 119 // construct tilemap … … 156 156 { 157 157 loadLevel(); 158 159 // setup the bounds of the level 160 walls[0] = new Box(this, Size(pixWidth,10), float.max); 161 walls[0].translation.set(pixWidth/2, 0 - 6); 162 163 walls[1] = new Box(this, Size(pixWidth,10), float.max); 164 walls[1].translation.set(pixWidth/2, pixHeight + 6); 165 166 walls[2] = new Box(this, Size(10,pixHeight), float.max); 167 walls[2].translation.set(0 - 6, pixHeight/2); 168 169 walls[3] = new Box(this, Size(10,pixHeight), float.max); 170 walls[3].translation.set(pixWidth + 6, pixHeight/2); 158 171 } 159 172 } … … 474 487 // Game variables 475 488 LevelInfo levelInfo; 489 Box walls[4]; 490 491 476 492 }
