Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/MAFH2/BattleEngine.py
diff options
context:
space:
mode:
authorslm <jtmengel@gmail.com>2010-07-20 16:43:29 (GMT)
committer slm <jtmengel@gmail.com>2010-07-20 16:43:29 (GMT)
commit67e3e020d832cb0b4b7bc171095779d8d8a48d2d (patch)
tree4a94bd734f5f3b9f229970165eb64fb24936bc61 /MAFH2/BattleEngine.py
parentcb43abfeea544f8d32b0f5c07b2c44547a69871b (diff)
Moved files around for the sake of implementing DO and DDO into MAFH2.
Diffstat (limited to 'MAFH2/BattleEngine.py')
-rw-r--r--MAFH2/BattleEngine.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/MAFH2/BattleEngine.py b/MAFH2/BattleEngine.py
index 0dc57ae..d9fe417 100644
--- a/MAFH2/BattleEngine.py
+++ b/MAFH2/BattleEngine.py
@@ -367,7 +367,9 @@ class BattleEngine(GameEngineElement):
# We don't want to allow other things to run during battle
return True
-
+#-------------------------------------------------------------------------------------------------------------------------------------------------------
+# \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/
+#
def draw(self,screen,time_delta):
x=250
y=150
@@ -379,7 +381,7 @@ class BattleEngine(GameEngineElement):
for enemy in self.enemy_list:
if enemy.alive:
if self.active_target == i:
- screen.blit(self.__images['arrow_select'], (x+(i*200),y-25)) #----------------------------------------------------------------------
+ screen.blit(self.__images['arrow_select'], (x+(i*200),y-25))
enemy.sprite.update( tick_time )
screen.blit(enemy.sprite.image, (x+(i*200),y))
i = i+1
@@ -389,4 +391,4 @@ class BattleEngine(GameEngineElement):
# Player Health
health = 10 - profile.hero.healthLevel()
- screen.blit(self.__images['hp'][health], (25,25)) #---------------------------------------------------------------------------------------------
+ screen.blit(self.__images['hp'][health], (25,25))