Roguelike
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Public Attributes | Private Member Functions | Friends | List of all members
IntPoint Class Reference

Public Member Functions

 IntPoint ()
 
 IntPoint (int _row, int _col)
 
bool operator== (const IntPoint &)
 
bool operator!= (const IntPoint &)
 
IntPoint operator+ (const int &)
 
IntPoint operator+ (const IntPoint &)
 
IntPoint operator- (const int &)
 
IntPoint operator- (const IntPoint &)
 

Public Attributes

int col
 
int row
 

Private Member Functions

void print () const
 

Friends

ostream & operator<< (ostream &, const IntPoint &)
 

Constructor & Destructor Documentation

IntPoint::IntPoint ( )

INT_POINT.CPP

This file is part of ROGUELIKETHING.

ROGUELIKETHING is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ROGUELIKETHING is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ROGUELIKETHING. If not, see http://www.gnu.org/licenses/.


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