Roguelike
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Friends
Pages
src
misc_classes
int_point.h
1
20
#ifndef INT_POINT_H
21
#define INT_POINT_H
22
#include <iostream>
23
24
using namespace
std
;
25
26
class
IntPoint
27
{
28
friend
ostream& operator<<(ostream&,
const
IntPoint
&);
29
private
:
30
void
print()
const
;
31
public
:
32
int
col;
33
int
row;
34
IntPoint
();
35
IntPoint
(
int
_row,
int
_col);
36
bool
operator==(
const
IntPoint
&);
37
bool
operator!=(
const
IntPoint
&);
38
IntPoint
operator+(
const
int
&);
39
IntPoint
operator+(
const
IntPoint
&);
40
IntPoint
operator-(
const
int
&);
41
IntPoint
operator-(
const
IntPoint
&);
42
};
43
44
#endif
std
IntPoint
Definition:
int_point.h:26
Generated on Thu Dec 18 2014 10:53:46 for Roguelike by
1.8.8