Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
from Directions import * class Room: def __init__(self, id, description, longdescription, directions): self.id = id self.description = description self.longdescription = longdescription self.directions = directions def getDirections(self): return self.directions def getId(self): return self.id def getDescription(self): return self.description def getLongDescription(self): return self.longdescription def printInfo(self): print self.description + "\n\n" + self.longdescription