Getter methods

I was using some of the shape classes and realized there weren't getter methods… for instance, I was using the pyramid class and I was wanting to doing something like


Pyramid p1 = new Pyramid("p1", 5f, 5f);
Pyramid p2 = new Pyramid("p2", p1.getWidth(), p1.getHeight());



This seems like it could be practical if someone wanted to make shapes iteratively.

Nevermind on this, it was just explained to me that this isn't really practical in any case.