From d897a3744d54c27f01c3a44802d97a346068aad9 Mon Sep 17 00:00:00 2001 From: Brosef Date: Sat, 21 Jun 2025 23:03:27 +0100 Subject: [PATCH] Added documentation for createAnimObj() --- src/gameUtils/base.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gameUtils/base.py b/src/gameUtils/base.py index ba4f4f5..a437190 100644 --- a/src/gameUtils/base.py +++ b/src/gameUtils/base.py @@ -38,6 +38,14 @@ class Game: pass def createAnimObj(self, *args, **kwargs): + """ + Creates an animated object. + + Args: + objectID (str): The ID of the object. + baseFrame (str): The path to the base frame. + """ + return AnimatedObject(self, *args, **kwargs) def timeout(self, id: str, delay: float):