You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from game.personnage import Personnage, ClassType
|
|
|
|
from game.core import Game
|
|
|
|
|
|
|
|
import graphics.layers as layers
|
|
|
|
from graphics.engine import Screen
|
|
|
|
import graphics.key_listener as listener
|
|
|
|
|
|
|
|
from time import sleep
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
#Initialise la partie graphique
|
|
|
|
game = Game()
|
|
|
|
screen = Screen(game)
|
|
|
|
layers.StartPopUp(1)
|
|
|
|
layers.GUI(2)
|
|
|
|
|
|
|
|
listener.build_thread(screen).start()
|
|
|
|
|
|
|
|
while True:
|
|
|
|
screen.draw()
|
|
|
|
sleep(0.4)
|