예제 #1
0
        // x1 = 0, x2 = 105
        public void SetX(int x)
        {
            SwinGame.SpriteSetX(_stove, x);
            _tableOfStove.SetX(x);

            // s1 = 35, s2 = 140
            _statusBar.SetX(x + 35);
        }
예제 #2
0
        // x = 0
        public void SetX(int x)
        {
            _servingArea.SetX(x);
            _btmBar.SetX(x + 10);
            _giveUpButton.SetX(x + 400);
            _giveUpButton.SetTextPositionX(x + 410);
            _sideBar.SetX(x + 350);

            _statusBar.SetX(x + 370);
        }
        // x1 = 5, x2 = 90, x3 = 175, x4 = 260
        public void SetX(int x)
        {
            SwinGame.SpriteSetX(_diningTable, x);

            // s1 = 27, s2 = 112, s3 = 197, s4 = 282
            _statusBar.SetX(x + 22);

            // c1 = 25, c2 = 110, c3 = 195, c4 = 280
            _customer.SetX(x + 20);
        }
예제 #4
0
 public void SetX(int x)
 {
     _statusBar.SetX(x + 22);
 }
예제 #5
0
 public void SetX(int x)
 {
     _statusBar.SetX(x + 22);
     zYPlayerWish.SetX(x + 22);
 }