A few minor updates for the new version of libstormgames.
This commit is contained in:
		| @@ -1,9 +1,10 @@ | ||||
| # -*- coding: utf-8 -*- | ||||
|  | ||||
| import pygame | ||||
| import random | ||||
| from libstormgames import * | ||||
| from src.object import Object | ||||
| from src.powerup import PowerUp | ||||
| import pygame | ||||
|  | ||||
| class Enemy(Object): | ||||
|     def __init__(self, xRange, y, enemyType, sounds, level, **kwargs): | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
| # -*- coding: utf-8 -*- | ||||
|  | ||||
| import pygame | ||||
| from libstormgames import * | ||||
| from src.object import Object | ||||
| from src.weapon import Weapon | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| # -*- coding: utf-8 -*- | ||||
|  | ||||
| import pygame | ||||
| import random | ||||
| from libstormgames import * | ||||
| from src.object import Object | ||||
|  | ||||
|   | ||||
| @@ -3,6 +3,7 @@ | ||||
|  | ||||
| import json | ||||
| import os | ||||
| import pygame | ||||
| from libstormgames import * | ||||
| from src.level import Level | ||||
| from src.object import Object | ||||
| @@ -209,7 +210,6 @@ class WickedQuest: | ||||
|             pygame.event.clear() | ||||
|             self.player.scoreboard.add_high_score() | ||||
|  | ||||
|         pygame.event.clear() | ||||
|         cut_scene(self.sounds, "game_over") | ||||
|         display_text(report) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user