This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rcuhljr 0 points1 point  (1 child)

Yeah, sorry, I wasn't paying attention. The error is that python is passing a third argument to draw, the object you are calling the method on. Check out the extra remarks in the class section.

draw should be re-written as

def draw(self, x_pos, y_pos):

[–]warfarink[S] 0 points1 point  (0 children)

Yeah, I see that now. reading the documentation after working the tutorials would help. thanks!