Module nari.types.ability
Ability-related types
Expand source code
"""Ability-related types"""
from nari.util.pair import IdNamePair
# pylint: disable=too-few-public-methods
class Ability(IdNamePair):
"""Represents an Ability in-game"""
def __repr__(self) -> str:
return f'<Ability ({self.name})>'
Classes
class Ability (id: str, name: str)
-
Represents an Ability in-game
Expand source code
class Ability(IdNamePair): """Represents an Ability in-game""" def __repr__(self) -> str: return f'<Ability ({self.name})>'
Ancestors