Campbell Ritchie wrote:If you have the shapes all in the same array, you are implicitly grouping them together. You could have fields in each object which tell it
where to gowhich direction to move in (provided to the constructor), and call a move() method
William Brogden wrote:Why should having the references to these polygons in an array make any difference?
How would you move a single polygon?
Jeff Verdegan wrote:The method should return a char, not an int. And it should take a char as its parameter too. After all, its job is to turn on char into another char.
Greg Charles wrote:rotateCharacter() returns an int, so you are concatenating a series of ints to the "complete" String.