/
mud++0.33/etc/
mud++0.33/etc/guilds/
mud++0.33/help/propert/
mud++0.33/mudC/
mud++0.33/player/
mud++0.33/src/
mud++0.33/src/bcppbuilder/
mud++0.33/src/unix/
mud++0.33/src/vm/
/*
....[@@@..[@@@..............[@.................. 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-list@mailhost.net
------------------------------------------------------------------------------
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

#include "osdepend.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 Vector::operator == ( const Vector & );

};

#endif