SimulationColor

Color constants.

class Object
trait Matchable
class Any

Value members

Concrete methods

def ageColor(color: Color, age: Int): Color

Method that allow to modify a color based on the age of the entity.

Method that allow to modify a color based on the age of the entity.

Value parameters:
age

the entity's age

color

the color to modify

Returns:

the modified color