Пример #1
0
        public override void Inverse()
        {
            if (_sausage.Burnt())
            {
                _sausage.LoseScreenOff();
            }

            burn.UndoPiece();
        }
Пример #2
0
        public override void Inverse()
        {
            if (_sausage.MustFall())
            {
                _sausage.Rise();
                _sausage.LoseScreenOff();
            }

            var diff = _dir - _sausage.Dir;

            if (diff.x != 0 && diff.y != 0)
            {
                _sausage.Flip(_dir * -1);
            }
            else
            {
                _sausage.Move(_dir * -1);
            }
        }