// Vector.h: interface for the CVector class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_VECTOR_H__0C2FA362_F86F_4740_92A0_665E313B0436__INCLUDED_) #define AFX_VECTOR_H__0C2FA362_F86F_4740_92A0_665E313B0436__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CVector { protected: int y; int x; public: CVector operator *(int mult); void operator = (const CVector &vect); void SetY(int sy); void SetX(int sx); int GetY(); int GetX(); CVector(CVector &old); CVector(int xs, int ys); CVector(); virtual ~CVector(); }; #endif // !defined(AFX_VECTOR_H__0C2FA362_F86F_4740_92A0_665E313B0436__INCLUDED_)