src/ai/ai_threads.h
author truebrain
Mon, 25 Feb 2008 14:03:14 +0000
branchnoai
changeset 9760 265fdd2130c3
parent 9724 b39bc69bb2f2
permissions -rw-r--r--
(svn r12248) [NoAI] -Codechange: last_command_res was in AIThread, while it should be in AIObject, like all other variables like it
[NoAI] -Codechange: minor comment/code update in ai_threads.cpp
/* $Id$ */

/** @file ai_threads.h declaration of functions for the AI threading system */

#ifndef AI_THREADS_H
#define AI_THREADS_H

#include "../player_type.h"

class AIController;

void AI_StartPlayer(PlayerID player, AIController *controller);
void AI_SuspendPlayer(PlayerID player, int timeout);
void AI_RunTick(PlayerID player);
void AI_StopPlayer(PlayerID player);

#endif /* AI_THREADS_H */