-
Notifications
You must be signed in to change notification settings - Fork 0
System layout
BioSim makes a hard distinction between code that implements the physical characteristics of an animal, and code that defines how an animal behaves. Code of the first kind is fairly complicated, has direct access to the simulation engine, and is generally written once and used in multiple different simulations. Within the javadoc and elsewhere on this wiki this code is referred to as implementing the body of an animal, as it generally inherits from classes in the biosim.core.body
package. Code of the second kind ranges from simple to complicated (based on the complexity of the behavior it implements), only accesses the simulation engine through the body class, and is usually specialized for each simulation it's used in. This type of code is called agent code, referring to the biosim.core.agent
package.