RedFood:
Filter:
Classes (extension) | Red > redUniverse

RedFood
ExtensionExtension

an object with energy
Location: NOT INSTALLED!

Class Methods

Inherited class methods

Instance Methods

.eat

Takes away energy from this object.

Returns:

How much energy was taken away. Energy can not go below 0 so if there is 6 left and 10 is taken, this method returns 4.

.energy

Scalar. The default is 1000.

Inherited instance methods

Examples