summaryrefslogtreecommitdiff
path: root/include/comppoint.h
blob: 6cf09d7d69924685237197cf936442e1bf78b1b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef _COMPPOINT_H
#define _COMPPOINT_H

#include <vector>
#include <list>

class CompPoint {

    public:
	CompPoint ();
	CompPoint (int, int);

	int x ();
	int y ();

	void setX (int);
	void setY (int);

	typedef std::vector<CompPoint> vector;
	typedef std::vector<CompPoint *> ptrVector;
	typedef std::list<CompPoint> list;
	typedef std::list<CompPoint *> ptrList;

    private:
	int mX, mY;
};

#endif