Ejemplo n.º 1
0
    private void MoveLeft()
    {
        if (gameTimer.IsPaused)
        {
            gameTimer.Start();
        }

        Console.WriteLine("Moving left");

        if (_CollisionTester.MoveShape(Direction.Left) && !_CollisionTester.CheckOverlaps())
        {
            _CurrentShape.MoveShape(Direction.Left);
        }
        else
        {
            _CollisionTester.MoveShape(Direction.Right);
        }
    }