#include <Pac.h>
Inheritance diagram for Pac:
|
Definition at line 12 of file Pac.cpp. References activeLink, Elastoid::addObject(), index(), ElasticLink::k, l, M_PI, nCircles, real, rPac, GraphicalObject::setColor(), u, and u0. |
|
|
|
Transmits perceptual information to the controller and gets motor information from it. To be overridden by agents or other objects with self-generated movement. Reimplemented from PhysicalObject. Definition at line 41 of file Pac.cpp. References activeLink, RandomController::advanceTime(), controller, Controller::getOutput(), l, ElasticLink::length, M_PI, nCircles, Vector2::normalize(), real, Vector2::rotate(), u, and u0. |
|
Definition at line 36 of file Pac.h. Referenced by Pac(). |
|
The link that can be controlled by the agent (the mouth). Definition at line 17 of file Pac.h. Referenced by controll(), and Pac(). |
|
Definition at line 23 of file Pac.h. Referenced by controll(). |
|
The rest length of the active link. Definition at line 20 of file Pac.h. Referenced by controll(), and Pac(). |
|
The number of circles that compose the agent. Should be odd. Definition at line 29 of file Pac.h. Referenced by controll(), and Pac(). |
|
The radius of the circular structure of the agent. Definition at line 32 of file Pac.h. Referenced by Pac(). |
|
Definition at line 34 of file Pac.h. Referenced by controll(), and Pac(). |
|
Definition at line 34 of file Pac.h. Referenced by controll(), and Pac(). |
Thyrix homepage Users' guide
(C) Arxia 2004-2005