baseroom.py
471 Bytes
# import datetime
class BaseRoom(object):
def __init__(self, title, description, exits, look_items):
self.title = title
self.description = description
self.exits = exits
self.look_items = look_items
# self.created = datetime.datetime.now()
def get_title(self):
return self.title
def get_description(self):
return self.description
def get_exits(self):
return self.exits
def get_look_items(self):
return self.look_items