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

            // s1 = 35, s2 = 140
            _statusBar.SetX(x + 35);
        }
        // x1 = 5, x2 = 90, x3 = 175, x4 = 260


        public void SetX(int x)
        {
            SwinGame.SpriteSetX(_mariodiningTable, x);

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

            // c1 = 25, c2 = 110, c3 = 195, c4 = 280
            _mariocustomer.SetX(x + 20);
        }
Example #3
0
 public void SetX(int x)
 {
     _statusBar.SetX(x + 22);
 }