INNER CODE UNIT · Python
play
enginmanap/limonEngine · Engine/Scripts/actor_interface.py:69
def play(self, time: int, actor_information: "limon.ActorInformation") -> None:
"""
Called as update function for the actor. Check Actor Information on python API documentation for details.
Args:
time: Current game time
actor_information: Information about the actor's state and environment
"""
raise NotImplementedError("play() not implemented")
def interaction(self, interaction_data: List[GenericParameter]) -> bool:
"""
Handle interaction with this actor. It is likely to be from the player.
Args:
interaction_data: List of parameters describing the interaction
Returns:
bool: True if the interaction was successful
"""
raise NotImplementedError("interaction() not implemented")