/* ....[@@@..[@@@..............[@.................. MUD++ is a written from ....[@..[@..[@..[@..[@..[@@@@@....[@......[@.... scratch multi-user swords and ....[@..[@..[@..[@..[@..[@..[@..[@@@@@..[@@@@@.. sorcery game written in C++. ....[@......[@..[@..[@..[@..[@....[@......[@.... This server is an ongoing ....[@......[@..[@@@@@..[@@@@@.................. development project. All ................................................ contributions are welcome. ....Copyright(C).1995.Melvin.Smith.............. Enjoy. ------------------------------------------------------------------------------ Melvin Smith (aka Fusion) msmith@falcon.mercer.peachnet.edu MUD++ development mailing list mudpp-list@spice.com ------------------------------------------------------------------------------ vector.h */ // This is for realism in the MUD world. // It is also required for the 3D client under development // For now, 1 integer unit is equal to 1 room #ifndef _VECTOR_H #define _VECTOR_H class Vector { private: int x; int y; int z; public: Vector() : x(0), y(0), z(0) { } Vector( int X, int Y, int Z ) : x(X), y(Y), z(Z) { } void operator += ( const Vector & ); void operator -= ( const Vector & ); Vector operator + ( const Vector & ); Vector operator - ( const Vector & ); }; #endif