tuxemon.event.conditions.player_at module
- class tuxemon.event.conditions.player_at.PlayerAtCondition[source]
Bases:
EventCondition
Check to see if the player is at the condition position on the map.
Script usage
is player_at
- name: ClassVar[str] = 'player_at'
- test(session, condition)[source]
Check to see if the player is at the condition position on the map.
- Parameters:
session (Session) – The session object
condition (MapCondition) – The map condition object.
- Returns:
Whether the player is in the condition position.
- Return type:
bool