Merge branch 'master' of hongabar.org:robotgame

This commit is contained in:
Lasse 2012-08-09 15:19:34 +02:00
commit f8e3be6f75
1 changed files with 11 additions and 0 deletions

View File

@ -54,6 +54,17 @@ class Level1(level.Level):
self.player.set_pos(64 * 15, 48 * 15)
self.player.set_init_pos()
for i in range(self.dimensions[0]):
self.objects.append(block.InvisBlock(self, i * 64,
0))
self.objects.append(block.InvisBlock(self, i * 64,
(self.dimensions[1]) * 48))
for i in range(self.dimensions[1]):
self.objects.append(block.InvisBlock(self, -64,
i * 48))
self.objects.append(block.InvisBlock(self, self.dimensions[0] * 64,
i * 48))
### Task 2: Rolling stone
task2_size = 15, 10