OverSim
NeighborMapEntry Class Reference

#include <MovementGenerator.h>

Public Attributes

Vector2D position
Vector2D direction

Friends

std::ostream & operator<< (std::ostream &Stream, const NeighborMapEntry &e)

Detailed Description

Definition at line 38 of file MovementGenerator.h.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  Stream,
const NeighborMapEntry e 
)
friend

Definition at line 26 of file MovementGenerator.cc.

{
return Stream << "Positon: " << e.position << " Direction: " << e.direction;
}

Member Data Documentation

Vector2D NeighborMapEntry::direction

Definition at line 40 of file MovementGenerator.h.

Referenced by operator<<().

Vector2D NeighborMapEntry::position

Definition at line 40 of file MovementGenerator.h.

Referenced by operator<<(), and SimpleGameClient::updateNeighbors().


The documentation for this class was generated from the following file: