PaulQbFeng / too-tanky

3 stars 0 forks source link

Convert Inventory class to InventoryMixin #85

Closed PaulQbFeng closed 1 year ago

PaulQbFeng commented 1 year ago

All the attributes from the Inventory class would be added to the champion itself and some methods from inventory would be renamed like: champion.inventory.contains() becomes champion.has_item() etc

PaulQbFeng commented 1 year ago

Tried but looks ugly

PaulQbFeng commented 1 year ago

https://github.com/PaulQbFeng/too-tanky/pull/87