src/ai/core/ai_controller.hpp
author truelight
Tue, 13 Mar 2007 21:41:05 +0000
branchnoai
changeset 9364 dde316c28f1d
parent 9361 7bb2bd22b16e
child 9372 bd60b398f92b
permissions -rw-r--r--
(svn r9149) [NoAI] -Fix: unneeded 'public:' (Rubidium)
/* $Id$ */

/** @file declaration of class for AIController class */

#ifndef AI_CONTROLLER_HPP
#define AI_CONTROLLER_HPP

#include "../../stdafx.h"

class AIController {
public:
	uint tick;

	AIController() :
		tick(0)
	{}

	virtual ~AIController() { }

	/**
	 * This function is called every tick.
	 */
	virtual void GameLoop() = 0;

	/**
	 * Increase the internal ticker.
	 */
	void IncreaseTick() { this->tick++; }
};

#endif /* AI_CONTROLLER_HPP */