mud++0.35/etc/
mud++0.35/etc/guilds/
mud++0.35/help/propert/
mud++0.35/mudC/
mud++0.35/player/
mud++0.35/src/interface/
mud++0.35/src/os/cygwin32/
mud++0.35/src/os/win32/
mud++0.35/src/os/win32/bcppbuilder/
mud++0.35/src/osaddon/
mud++0.35/src/util/
/*
....[@@@..[@@@..............[@.................. 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@hom.net 
MUD++ development mailing list    mudpp@van.ml.org
------------------------------------------------------------------------------
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 & );
		bool operator == ( const Vector & );

};

#endif