//	NPC.h - Base class for any non-player characters.
//  ----------------------------------------------------------------------------
//	This file is part of 'NiallsAVLib', base code for any kind of audiovisual
//	apps.
//	Copyright (C) 2012  Niall Moody
//	
//	This program is free software: you can redistribute it and/or modify
//	it under the terms of the GNU General Public License as published by
//	the Free Software Foundation, either version 3 of the License, or
//	(at your option) any later version.
//
//	This program is distributed in the hope that it will be useful,
//	but WITHOUT ANY WARRANTY; without even the implied warranty of
//	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//	GNU General Public License for more details.
//
//	You should have received a copy of the GNU General Public License
//	along with this program.  If not, see <http://www.gnu.org/licenses/>.
//	----------------------------------------------------------------------------

#ifndef NPC_H_
#define NPC_H_

#include "Collidable.h"
#include "c0xHeaders.h"

class Drawer;

///	Base class for any non-player characters.
class NPC : public Collidable
{
  public:
	///	Constructor.
	NPC(const std::wstring& n):
	Collidable(n)
	{

	};
	///	Destructor.
	virtual ~NPC() {};

	///	Moves the npc.
	virtual void update(GamePlayState& state) = 0;
	///	Draws the npc.
	virtual void draw(shared_ptr<Drawer>& d, float timestepInterp) = 0;

	///	Returns true if the npc is dead.
	virtual bool getDead() = 0;
};

#endif
