You know what i did!

Created the abstract Shape class (com.coldboot.geometry.Shape), made the
Cube class extend that.