Yes, yes. I know you're immediately going to think; "Look up a tutorial, dammit!" Well, I have. I think I've tried... 20 at least. NONE of them have worked. I've ALWAYS gotten an error. Either; "Null point exception" or "Variable not found" and it's driving me insane. @_@
This is a little confusing at first but I need two classes to communicate to each other. (Pass variables)
One is called Card2 which will have the variable needed.
The other is Card which needs to access that variable.
I've tried so many methods it's not even funny. I know how it works, but I can't for the life of me do it. I've looked at other people's code and everything. No, my Greenfoot is not bonkers. I've done it before, but that was copying off someone's work, and that took me 4 hours to figure out what the hell I was doing. I'm not going through that again. So yeah, what code do I need? And for what classes? I know some methods used the world class and others didn't need to at all. It's confusing.