Added documentation for createAnimObj()
This commit is contained in:
@ -38,6 +38,14 @@ class Game:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def createAnimObj(self, *args, **kwargs):
|
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)
|
return AnimatedObject(self, *args, **kwargs)
|
||||||
|
|
||||||
def timeout(self, id: str, delay: float):
|
def timeout(self, id: str, delay: float):
|
||||||
|
|||||||
Reference in New Issue
Block a user