示例#1
0
        protected override void Initialize()
        {
            base.Initialize();

            if (Client)
            {
                Components.Add(Crosshair    = new UI.Crosshair());
                Components.Add(Scoreboard   = new UI.Scoreboard());
                Components.Add(PhaseDisplay = new UI.PhaseDisplay());
                Components.Add(DeathLog     = new UI.DeathNotify());
            }
        }
 public Crosshair()
 {
     Current = this;
     Visible = false;
 }