src/ai/ai_threads.h
author truebrain
Mon, 30 Jun 2008 12:15:10 +0000
branchnoai
changeset 11097 6967c52c78c5
parent 9760 265fdd2130c3
permissions -rw-r--r--
(svn r13654) [NoAI] -Change [API CHANGE]: moved AISetting::SetCommandDelay to AIController::SetCommandDelay, as it was silly to have it in a seperate class, while it was part of the controller.
/* $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 */