I am using an ArrayList to store references to Graphical Objects drawn with a GeneralPath method
The purpose of the program is to randomly generate a dungeon.
I am differentiating a door from a continuing corridor by drawing an arrow to represent the continuing corridor.
GeneralPath implements Shape, so you should be able to cast it to that Shape type. The most likely reason for your problem is that you have your own Shape type, which is taking precedence over java.awt.Shape when you are casting. So that won't compile.
Eric Madore wrote:. . . I could not cast the objects . . . to Shape . . .