Pauperformance / pauperformance-bot

Myr (Pauperformance bot).
GNU General Public License v3.0
1 stars 2 forks source link

Override basic methods for custom entities #7

Closed ShadowTemplate closed 2 years ago

ShadowTemplate commented 3 years ago

For our entities we should override the most frequent methods, such as __str__, __repr__, and __hash__.

Some entities are ok and don't need (a lot of) additional work, e.g. PlayedCard and PlayableDeck.

ShadowTemplate commented 2 years ago

Done! ref: util/entities.