src/ai/api/ai_controller.cpp
author rubidium
Sat, 14 Apr 2007 20:38:10 +0000
branchnoai
changeset 9594 5009a30f320a
parent 9444 fd27df7ca2a0
child 9724 b39bc69bb2f2
permissions -rw-r--r--
(svn r9627) [NoAI] -Fix: let the squirrel export script export all needed (and a few more) types of references to structs and classes.
/* $Id$ */

/** @file ai_controller.cpp handles the functions of the AIControler class */

#include "ai_controller.hpp"
#include "../../stdafx.h"
#include "../../openttd.h"
#include "../../player.h"
#include "../ai_threads.h"

void AIController::Sleep(uint ticks)
{
	AI_SuspendPlayer(_current_player, ticks);
}