> I am fooling around with classes and I was trying to create a very
> small one player text adventure. I made a class called commands here
> it is:
OK, recall that a class represents a template from which you
create (one or) many instances. Thus any class that is named in
the plural usually indi
Kevin wrote:
I am fooling around with classes and I was trying to create a very
small one player text adventure. I made a class called commands here
it is:
class Commands:
def __init__(self):
pass
def quiting(self):
sys.exit()
def look(self):
print "\nNot working
I am fooling around with classes and I was trying to create a very
small one player text adventure. I made a class called commands here
it is:
class Commands:
def __init__(self):
pass
def quiting(self):
sys.exit()
def look(self):
print "\nNot working yet!\n"