CBG  0.1
Compendium of board games
Coordinate Struct Reference

#include <Coordinate.h>

Public Member Functions

 Coordinate ()
 
 Coordinate (int x, int y)
 

Public Attributes

int x
 The X position. More...
 
int y
 The Y position. More...
 

Detailed Description

Encapsulates the idea of a location made up of an X point and a Y point.

Author
Darren Brogan

Constructor & Destructor Documentation

Coordinate::Coordinate ( )

Encapsulates the idea of a location made up of an X point and a Y point.

Author
Darren Brogan
Coordinate::Coordinate ( int  x,
int  y 
)

Member Data Documentation

int Coordinate::x

The X position.

int Coordinate::y

The Y position.


The documentation for this struct was generated from the following files: