After doing some research, I have yet to find a way to use static methods in a non-static class. Alternatively, I can’t create instances of an object of a static class. I did notice someone mention class-wide methods, but there was no information on the processing wiki.
Basically, all I want is a class that allows me to create objects, but also allows me to use static methods. For example if the class was named “Car”, I want to be able to say
Car c1 = new Car();
but also be able to write a method that is called as such:
I know this is possible in Java, but Processing 3 seems to be preventing me from doing it. Any help would be appreciated, thank you in advance!