Nov-22-2019, 11:50 PM
'self' is for instance attributes. myPlayer is assigned to player, which is a class, not an instance of a class. If you want to create an instance, do
myPlayer = player()
.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures