#pragma once

class PathNode
{
public:
	PathNode();
	~PathNode();
	void		Reset					();
	const		PathNode&	operator=	(const PathNode &other);
	const		PathNode*	operator=	(const PathNode *other);
	void		SetX					(int data);
	int			GetX					() const;
	void		SetY					(int data);
	int			GetY					() const;
	void		SetDir					(int data);
	int			GetDir					() const;
private:
	int X; int Y;//X and Y are Coordinates of a Tile

	//Direction is a shortcut to tell the mob which way to travel
	//So as to not waste processor to calculate it each time from
	//current point to new point - per mob...
	//Depending upon the map type (Sqr, Dia, Rhom, Hex1, Hex2), 
	//the allowed value range ranges from either (0 - 7), or (0 - 5).
	//Also, Direction is used to know which graphic to display on
	//screen during editing - M. White 06 August, 2019
	int	Dir;
};