RedParticle an object that ages with time


Inherits from: RedObject


instance methods:

alive

returns a boolean.  true if age is greater than zero, else false.

instance variables:

<>age

scalar that decrease by 1 for every update.  default is 1000.



a= RedWorld.new

b= RedParticle(a)


a.objects

b.dump


300.do{b.update}

b.age //should now be 700

b.alive //yes!


//see examples folder