public class Bot { private Game Game; private Thread GameEnterThread; public void Initiate(Game game) { this.Game = game; } public void GameEnterThatCreatesThread() { this.GameEnterThread = new Thread(new ThreadStart(GameThread)); this.GameEnterThread.Start(); } public void GameExitThatDestroysThread() { this.GameEnterThread.Abort; } }