CLocalServer.CLocalServer C# (CSharp) Method

CLocalServer() public method

public CLocalServer ( ) : System
return System
    public CLocalServer()
    {
        this.players = new List<CPlayer>();
        this.players.Add(new CPlayer(0, PLAYER_TYPE.HUMAN, this.send, this));
        this.players.Add(new CPlayer(1, PLAYER_TYPE.AI, null, this));

        this.game_room = new CGameRoom(this);
        for (int i = 0; i < this.players.Count; ++i)
        {
            this.game_room.add_player(this.players[i]);
        }
    }