Example #1
0
        public GameHud()
        {
            Current = this;
            if (!IsClient)
            {
                return;
            }

            RootPanel.AddChild <ChatBox>();
        }
Example #2
0
        private void confirmColor()
        {
            basePreview.Delete();
            headPreview.Delete();
            cannonPreview.Delete();
            treadPreview.Delete();
            Delete(true);

            TankGame.FinishPickingColor(customColor.ToColor().ToVector3());             // Sends chosen color to server and tells it to spawn us in
            GameHud.AddActualHud();
            Cookie.Set("mtk_customcolor", cookieSaveColor);
        }