#pragma warning (disable:4786)
#include "ai state.hpp"

AIStateTable::AIStateTable (void)
{
	m_Root = NULL;
	m_CurrentState = NULL;
}

AIStateTable::~AIStateTable (void)
{
	while (m_Root)
	{
		StateEntry *temp;

		temp = m_Root;
		m_Root = m_Root->next;
		delete temp;
	}
	m_CurrentState = NULL;
}

