Mods
This commit is contained in:
parent
1b54532cf3
commit
1b21a9adcd
|
@ -200,12 +200,12 @@ class Game:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_image(ant: Ant) -> QLabel:
|
def get_image(ant: Ant) -> QLabel:
|
||||||
if ant == Ants.top:
|
if ant.method == "hatched":
|
||||||
path = Config.top_image_path
|
|
||||||
elif ant.method == "hatched":
|
|
||||||
path = Config.hatched_image_path
|
path = Config.hatched_image_path
|
||||||
elif ant.method == "terminated":
|
elif ant.method == "terminated":
|
||||||
path = Config.terminated_image_path
|
path = Config.terminated_image_path
|
||||||
|
elif ant == Ants.top:
|
||||||
|
path = Config.top_image_path
|
||||||
else:
|
else:
|
||||||
path = Config.status_image_path
|
path = Config.status_image_path
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue