Quote:
Originally Posted by sthreet
Thanks, it worked perfectly. Doesn't seem to like multiple instances.
That is really weird, that you can access a static variable when you can't access a non-static one, I can see something like public/private/semiprivate where semiprivate is the same as current public and public is the same as current public static.
I do come from python and javascript though, so not having types to variables must be weird here.
|
From my (very basic) understanding, non static variables and methods can only be used if an object of their class is created. So, if you kept the talons non static, you would have to actually create an instance of the outputmap.
So,
outputmap x = new outputmap();
Static variables and methods, however, do not require this.
Please correct me if anything I said is horribly wrong
