OverSim
|
#include <GlobalCoordinator.h>
Public Member Functions | |
virtual void | initialize () |
virtual void | handleMessage (cMessage *msg) |
virtual | ~GlobalCoordinator () |
void | increasePositionSize () |
void | increasePeerCount () |
int | getPeerCount () |
Vector2D & | getPosition (int k) |
void | setPosition (int k, const Vector2D &Position) |
unsigned int | getSeed () |
Protected Attributes | |
Vector2D * | Position |
int | PositionSize |
int | PeerCount |
unsigned int | Seed |
Definition at line 32 of file GlobalCoordinator.h.
|
virtual |
Definition at line 38 of file GlobalCoordinator.cc.
int GlobalCoordinator::getPeerCount | ( | ) |
Definition at line 66 of file GlobalCoordinator.cc.
Referenced by greatGathering::greatGathering(), and groupRoaming::groupRoaming().
Vector2D & GlobalCoordinator::getPosition | ( | int | k | ) |
Definition at line 72 of file GlobalCoordinator.cc.
Referenced by greatGathering::greatGathering(), groupRoaming::groupRoaming(), and groupRoaming::move().
unsigned int GlobalCoordinator::getSeed | ( | ) |
Definition at line 90 of file GlobalCoordinator.cc.
Referenced by SimpleGameClient::handleRealworldPacket(), and MovementGenerator::MovementGenerator().
|
virtual |
Definition at line 43 of file GlobalCoordinator.cc.
void GlobalCoordinator::increasePeerCount | ( | ) |
Definition at line 60 of file GlobalCoordinator.cc.
Referenced by greatGathering::greatGathering(), and groupRoaming::groupRoaming().
void GlobalCoordinator::increasePositionSize | ( | ) |
Definition at line 48 of file GlobalCoordinator.cc.
Referenced by greatGathering::greatGathering(), and groupRoaming::groupRoaming().
|
virtual |
Definition at line 28 of file GlobalCoordinator.cc.
void GlobalCoordinator::setPosition | ( | int | k, |
const Vector2D & | Position | ||
) |
Definition at line 81 of file GlobalCoordinator.cc.
Referenced by greatGathering::greatGathering(), groupRoaming::groupRoaming(), and groupRoaming::move().
|
protected |
Definition at line 49 of file GlobalCoordinator.h.
Referenced by getPeerCount(), increasePeerCount(), and initialize().
|
protected |
Definition at line 48 of file GlobalCoordinator.h.
Referenced by getPosition(), increasePositionSize(), initialize(), setPosition(), and ~GlobalCoordinator().
|
protected |
Definition at line 49 of file GlobalCoordinator.h.
Referenced by getPosition(), increasePositionSize(), initialize(), and setPosition().
|
protected |
Definition at line 50 of file GlobalCoordinator.h.
Referenced by getSeed(), and initialize().