Loaded moat in level1.
This commit is contained in:
		
							parent
							
								
									6c90ec0f6b
								
							
						
					
					
						commit
						dfddd4b835
					
				| @ -192,6 +192,15 @@ class Level1(level.Level): | ||||
|             self.imgs[block] = pygame.image.load(os.path.join( | ||||
|                     self.graphics_dir, 'blocks', '%s.png' % block)) | ||||
| 
 | ||||
|         moat_list = ['moat_corner_north', | ||||
|                      'moat_corner_south', | ||||
|                      'moat_end_horizontal', | ||||
|                      'moat_horizontal', | ||||
|                      'moat_vertical'] | ||||
|         for moat in moat_list: | ||||
|             self.imgs[moat] = pygame.image.load(os.path.join( | ||||
|                     self.graphics_dir, 'moat', '%s.png' % block)) | ||||
| 
 | ||||
|         # Load animations | ||||
|         for anim, directory in ( | ||||
|             [('boulder_up', os.path.join('boulder', 'up')), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sakse Dalum
						Sakse Dalum