|
Something tells me that you should ask the people at spaweditor.com - they would know their code a lot better than we would.
On a high level: A static method is a method that works on the class as a whole, not an instance of the class. Like in Java how you can have a Math object so that you can call Math.pow(2,4) (calculates 2^4). It would be silly to have to instantiate the math object just to do powers - instead you can call it independently of the object. What that error implies is that you have a class that has a static method. The static method is calling a function that is associated with an instance of the class, not the class itself. That would be like if Math.pow required an instance of the Math class to be instantiated.
|