shangwyoung / Space_Station_Auction

WT 2016
2 stars 0 forks source link

Space station class #17

Closed nickmusic closed 8 years ago

nickmusic commented 8 years ago

I wanted to get this out quickly so people working on the simulator could use it. We can certainly make changes if people need some other methods, class members, etc.

shangwyoung commented 8 years ago

In the getScores method:

def getScores(index):
        return self.scores

Are we using the parameter index ? If not, we should take it out?

if yes, should we do something similar like we did in the Card class?

 def getValue(self, index):
        return self.stats[index]
nickmusic commented 8 years ago

Sorry, that is an artifact of a previous version of the class. We can remove it. That is, unless you think you would rather have a method that returns just one value. We could even have both. I believe the card class has both currently.