RedAgent:
Filter:
redUniverse/Classes (extension) | Red > redUniverse

RedAgent
ExtensionExtension

an object that can sense and act

Description

NOTE: The size is used as radius for this object. So size only works in 1-2D for now.

Instance Methods

.state

Whatever one like to save.

.sense

A Function. Called as the first thing in the agent's update method.

.act

A Function. Called as the second thing in the agent's update method.

Examples