All pastes #587413 Raw Edit

Stuff

public text v1 · immutable
#587413 ·published 2007-06-24 15:41 UTC
rendered paste body
    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;
        }
    }