mirror of
https://github.com/neogeek23/Dominion-Strategy-Simulator.git
synced 2026-02-04 19:18:18 +00:00
Refactored card typing to no longer be a piece of data but a feature of the object structure.
11 lines
197 B
Python
11 lines
197 B
Python
from table.supply import Supply
|
|
|
|
|
|
class Pile(Supply):
|
|
def __init__(self, card):
|
|
self.__card_group = card
|
|
Supply.__init__(self)
|
|
|
|
def get_card_group(self):
|
|
return self.__card_group
|