tuxemon.cli.commands.random_encounter module
- class tuxemon.cli.commands.random_encounter.RandomEncounterCommand[source]
Bases:
CLICommand
Start random encounter using “default_encounter”.
- description: ClassVar[str] = "Start random encounter using 'default_encounter'."
- example: ClassVar[str] = 'random_encounter'
- invoke(ctx, line)[source]
Start random encounter using “default_encounter”.
- Parameters:
ctx (InvokeContext) – Contains references to parts of the game and CLI interface.
line (str) – Complete text as entered into the prompt.
- Return type:
None
- name: ClassVar[str] = 'random_encounter'