This commit is contained in:
Auric Vente
2024-07-21 10:47:34 -06:00
parent b1260f894a
commit 9a2c1bdcc5
3 changed files with 15 additions and 1 deletions

View File

@@ -90,6 +90,12 @@ class Ants:
@staticmethod
def prepare() -> None:
Ants.get()
Ants.check()
@staticmethod
def check() -> None:
if not Ants.ants:
Ants.populate(Config.default_population)
@staticmethod
def hatch(num: int = 1, on_change: bool = True) -> None: