Esempio n. 1
0
        private void MoveButtons(Vector2 newPosition)
        {
            StunButtonOn.Position       = newPosition;
            StunButtonOn.PositionUpdate = () => newPosition;
            StunButtonOn.PositionUpdate = null;

            StunButtonOff.Position       = newPosition;
            StunButtonOff.PositionUpdate = () => newPosition;
            StunButtonOff.PositionUpdate = null;

            KoreanUtils.SetValueInt(annie.MainMenu, "easybuttonpositionx", (int)StunButtonOn.Position.X);
            KoreanUtils.SetValueInt(annie.MainMenu, "easybuttonpositiony", (int)StunButtonOn.Position.Y);
        }