#include <physics.h>

Definition at line 34 of file physics.h.
Public Member Functions | |
| struct Position | Position () |
| struct Position | Position (const DateTime &at) |
| double | Size () |
| double | Size (const DateTime &at) |
| virtual | ~IObject () |
| IObject & | Serialize (std::ostream &output) |
| IObject & | Deserialize (std::istream &input) |
Protected Member Functions | |
| IObject () | |
| virtual struct Position | ImplPosition (const DateTime &)=0 |
| virtual double | ImplSize (const DateTime &)=0 |
| virtual void | ImplSerialize (std::ostream &)=0 |
| virtual void | ImplDeserialize (std::istream &)=0 |
Private Member Functions | |
| IObject (const IObject &) | |
| IObject & | operator= (const IObject &) |
Gets the object center
Definition at line 40 of file physics.h.
References ImplPosition(), and DateTime::Now().
Referenced by Core::dispatch(), Arena::Private::drawCircle(), and readCoreInfo().


Definition at line 46 of file physics.h.
References ImplPosition().

| double Size | ( | ) | [inline] |
Gets the object radius
Definition at line 52 of file physics.h.
References ImplSize(), and DateTime::Now().
Referenced by Arena::Private::drawCircle(), and Arena::Private::renderBot().


| double Size | ( | const DateTime & | at | ) | [inline] |
Definition at line 58 of file physics.h.
References ImplSize().

| IObject& Serialize | ( | std::ostream & | output | ) | [inline] |
Definition at line 63 of file physics.h.
References ImplSerialize().
Referenced by Core::Export().


| IObject& Deserialize | ( | std::istream & | input | ) | [inline] |
Definition at line 68 of file physics.h.
References ImplDeserialize().
Referenced by Core::Import().


Implemented in BaseObject, Compass, SoundSensor, and Trilobot.
Referenced by Position().

| virtual double ImplSize | ( | const DateTime & | ) | [protected, pure virtual] |
Implemented in BaseObject, Compass, SoundSensor, and Trilobot.
Referenced by Size().

| virtual void ImplSerialize | ( | std::ostream & | ) | [protected, pure virtual] |
Implemented in BaseObject, BaseMovingObject, State, BaseComponent, SimpleComponent, Compass, SoundSensor, and Trilobot.
Referenced by Serialize().

| virtual void ImplDeserialize | ( | std::istream & | ) | [protected, pure virtual] |
Implemented in BaseObject, BaseMovingObject, State, BaseComponent, SimpleComponent, Compass, SoundSensor, and Trilobot.
Referenced by Deserialize().

1.5.4