コード例 #1
0
        public virtual void Update(
            MouseController MouseController, KeyController KeyController, int DeltaT, Transform Transform)
        {
            if (OnPulse != null)
            {
                OnPulse(this, EventArgs.Empty);
            }

            foreach (Pod item in _Items)
            {
                item.Update(MouseController, KeyController, DeltaT, Transform);
            }
            PaneLayer.Update(MouseController, KeyController, DeltaT, Transform);
        }
コード例 #2
0
        public virtual void Update(
            MouseController MouseController,
            KeyController KeyController,
            int DeltaT,
            Transform Transform)
        {
            if (OnPulse != null)
            {
                OnPulse(this, EventArgs.Empty);
            }

            Camera.Update(MouseController, KeyController, DeltaT, PaneLayer.Any(i => i.Hover));
            Transform = Camera.GetTransform();

            foreach (Pod p in _TransformedItems)
            {
                p.Update(MouseController, KeyController, DeltaT, Transform);
            }
            foreach (Pod p in _Items)
            {
                p.Update(MouseController, KeyController, DeltaT, Transform.Identity);
            }
            PaneLayer.Update(MouseController, KeyController, DeltaT, Transform.Identity);
        }