Beyond_Beyaan.Screens.DiplomacyScreen.Update C# (CSharp) Метод

Update() публичный Метод

public Update ( int x, int y, float frameDeltaTime ) : void
x int
y int
frameDeltaTime float
Результат void
        public void Update(int x, int y, float frameDeltaTime)
        {
            /*if (empireScrollBar.UpdateHovering(x, y, frameDeltaTime))
            {
                RefreshContactList();
            }
            for (int i = 0; i < maxVisible; i++)
            {
                if (spyEffortScrollbars[i].UpdateHovering(x, y, frameDeltaTime))
                {
                    empiresInContact[i + empireScrollBar.TopIndex].SpyEffort = spyEffortScrollbars[i].TopIndex;
                    return;
                }
                if (spyDefenseScrollbars[i].UpdateHovering(x, y, frameDeltaTime))
                {
                    empiresInContact[i + empireScrollBar.TopIndex].AntiSpyEffort = spyDefenseScrollbars[i].TopIndex;
                    return;
                }
                if (empiresInContact[i + empireScrollBar.TopIndex].IncomingMessage != MessageType.NONE)
                {
                    incomingMessages[i].UpdateHovering(x, y, frameDeltaTime);
                }
            }
            if (whichContactSelected >= 0)
            {
                if (!isViewingReceivedMessage)
                {
                    for (int i = 0; i < 8; i++)
                    {
                        messageOptions[i].UpdateHovering(x, y, frameDeltaTime);
                    }
                    listOfEmpires.UpdateHovering(x, y, frameDeltaTime);
                }
                else
                {
                    messageOptions[ACCEPT].UpdateHovering(x, y, frameDeltaTime);
                    messageOptions[REJECT].UpdateHovering(x, y, frameDeltaTime);
                }
            }*/
        }