Snoke
Point Class Reference

Coordinates and style of the cell in console window. More...

#include <common.h>

Collaboration diagram for Point:

Public Member Functions

bool operator== (Point p)
 Operation "==" override for the Point class. More...
 

Public Attributes

short x
 
short y
 
PointStyle style
 

Detailed Description

Coordinates and style of the cell in console window.

Parameters
x- x coordinate in console window
y- y coordinate in console window
style- style of the cell

Definition at line 52 of file common.h.

Member Function Documentation

bool Point::operator== ( Point  p)

Operation "==" override for the Point class.

Parameters
p- the Point to compare with
Returns
- mark of equality This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 19 of file common.cpp.

Member Data Documentation

PointStyle Point::style

Definition at line 57 of file common.h.

short Point::x

Definition at line 55 of file common.h.

short Point::y

Definition at line 56 of file common.h.


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