Point Struct Reference

#include <utility.h>

List of all members.


Detailed Description

Definition at line 4 of file utility.h.

Public Member Functions

Point operator- () const
bool operator== (const Point &p) const
 Point (int xPos, int yPos)
 Point ()

Public Attributes

int x
int y


Constructor & Destructor Documentation

Point::Point (  )  [inline]

Definition at line 6 of file utility.h.

Referenced by operator-().

Here is the caller graph for this function:

Point::Point ( int  xPos,
int  yPos 
) [inline]

Definition at line 7 of file utility.h.


Member Function Documentation

Point Point::operator- (  )  const [inline]

Definition at line 16 of file utility.h.

References Point(), x, and y.

Here is the call graph for this function:

bool Point::operator== ( const Point p  )  const [inline]

Definition at line 11 of file utility.h.

References x, and y.


Member Data Documentation

int Point::x

Definition at line 8 of file utility.h.

Referenced by Wall::draw(), Unit::draw(), Unit::drawMovePath(), MapTile::drawObjects(), MapTile::drawTerrain(), Input::getMousePosition(), Map::getTile(), MapTile::highlight(), MapTile::highlightMoveable(), operator-(), operator==(), Camera::setBorders(), MainGameState::update(), and Camera::update().

int Point::y

Definition at line 9 of file utility.h.

Referenced by Wall::draw(), Unit::draw(), Unit::drawMovePath(), MapTile::drawObjects(), MapTile::drawTerrain(), Input::getMousePosition(), Map::getTile(), MapTile::highlight(), MapTile::highlightMoveable(), operator-(), operator==(), Camera::setBorders(), MainGameState::update(), and Camera::update().


The documentation for this struct was generated from the following file:
Generated on Fri Sep 22 06:00:27 2006 for X-CLONE by  doxygen 1.4.7