Re: how to let a python class accept more than 1 instent going?
hey make sure that any method you have on a class has self as the first parameter (the name technically doesn't matter, but the convention is self). This value (self) is used to refer to the class (self.somevar, etc). for example
class SomeClass:
def __init__(self, name, x, y):
#assign stuff
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector