This needs a different approach

Saaa empty at needmail.com
Tue Apr 29 13:15:38 PDT 2008


>> I confused two arrays yesterday. The fruits don't change as often as I 
>> said (more like once every few seconds for only a small percentage of all 
>> fruits).
>
> ok that sounds better ... until now
>
>> As to how the flow is; that loop is called 30 times / sec. And eating a 
>> fruit may change it to another fruit.
>
> 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.
A different type means a different way of being eaten.




More information about the Digitalmars-d-learn mailing list