This needs a different approach

dennis luehring dl.soluz at gmx.net
Tue Apr 29 23:04:25 PDT 2008


>> and why does eating a fruit change it to another?
>> is that the way your current algorithm work - or why does fruits change if 
>> eaten? more story details, please...

> Does this really matter?
> In oop style this might sound a bit strange, but in my setup it is the same 
> as changing the type number.
desgins in oop become strange if the idea of what your program should do 
  is an procedural codesnippet of how it should work :-)

> A different type means a different way of being eaten.
thats fully ok - but why does an eaten fruit morph into another one?
sometimes people want it all in just one array maybe you need another one


More information about the Digitalmars-d-learn mailing list