logo       

classes and subclasses and inheritance: msg#00158

lang.smalltalk.squeak.beginners

Subject: classes and subclasses and inheritance

I am slowly figuring things out, but have gotten stuck.  Maybe this is something basic?

I am using DrGeoII.  I have defined a DrGPolygoneMorph which is a subclass of DrGPolylineMorph then a subclass of PolygonMorph.   I am trying to flip this object and using the method flipHAroundX:nil 

This works when I create a PolygonMorph, but doesn't seem to do anything to my DrGPolygoneMorph.  Doesn't inheritance mean is should work identically?

david




_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise