getters
added getters for field_types and field_cost.cmc
This commit is contained in:
parent
adf0c1a44a
commit
7056035719
1 changed files with 5 additions and 0 deletions
|
@ -1031,5 +1031,10 @@ class Card:
|
||||||
def get_colors(self):
|
def get_colors(self):
|
||||||
return self.__dict__[field_cost].get_colors()
|
return self.__dict__[field_cost].get_colors()
|
||||||
|
|
||||||
|
def get_types(self):
|
||||||
|
return self.__dict__[field_types]
|
||||||
|
|
||||||
|
def get_cmc(self):
|
||||||
|
return self.__dict__[field_cost].cmc
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue