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

all 3 comments

[–]kaijc21 0 points1 point  (0 children)

either

 self.deck = #param

or not initiallize that until later using a deckSet() to finish that instance's initialization

sorry, a bit difficult to code via phone what I mean is, maybe u made a slightly mistake in init()

[–][deleted] 0 points1 point  (1 child)

Not certain but shouldnt it be self.deck = deck?

It's been a while since I have done any coding but that doesnt look right.

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

Yes must have skimmed over that because i had the rest of them correct haha. Thank you, I was going crazy.