Пример #1
0
 def __init__(self, prevstate):
     Screen.__init__(self)
     Battle.__init__(self, prevstate)
     text1 = Font("menu", 24, (255, 0, 0), "Battle Screen Goes Here")
     text2 = Font("menu", 16, (255, 255, 255), "Press 'Esc' to go back to the game.")
     self.add([text1, text2])
     print "init battle"
     sounds.sounds.SWORD.play()