branch | noai |
changeset 9441 | 03da911c8d5f |
child 9444 | fd27df7ca2a0 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ai/api/ai_controller.cpp Fri Mar 16 17:03:49 2007 +0000 @@ -0,0 +1,14 @@ +/* $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.h" + +void AIController::Sleep(uint ticks) +{ + AI_SuspendPlayer(_current_player, ticks); +}