Example #1
0
        /// <summary>
        ///   Simple constructor that takes a reference to the game client,
        ///   and sets up the basic game state.
        ///   In this case, that state contains information about inventory,
        ///   quests, group membership, and the colors to use for chat.
        /// </summary>
        /// <param name="client">the client class</param>
        public MarsWorld(Client client)
        {
            this.client = client;

            // Set up the global instance
            instance = this;
        }
        /// <summary>
        ///   Simple constructor that takes a reference to the game client, 
        ///   and sets up the basic game state.
        ///   In this case, that state contains information about inventory,
        ///   quests, group membership, and the colors to use for chat.
        /// </summary>
        /// <param name="client">the client class</param>
        public MarsWorld(Client client)
        {
            this.client = client;

            // Set up the global instance
            instance = this;
        }