From: Greg Coit Date: 2006-04-28T07:29:50+09:00 Subject: Re: object available in one class but not another? On 4/27/06, Dave Burt wrote: > Hi Greg, > > I'm going to ignore your question in hope that this advice is as useful > as an answer would be. > > Don't include Robot in Radar or Gun. That type of relationship is "a Gun > is a kind of Robot", which is not what you want. GoofeyDuck is your Robot. > > (Your problem is probably related to the fact that, for example, > radar_heading inside a Radar object refers to that Radar's radar, > whereas the parent GoofeyDuck has a separate radar. You have 4 robots, 3 > inside the other 1!) > > Here's an alternative skeleton, with only 1 robot per robot: Dave, You're awesome, and 100% in the money. Thanks for taking the time to do this, I'm going to fless out the skeleton you gave me right away! Thanks! Greg