Lab1 finished

This commit is contained in:
Артём Яшин 2023-10-09 09:39:36 +04:00
parent 7394c0c5dd
commit 10f16ba961

View File

@ -52,19 +52,15 @@ namespace ProjectAirBomber
switch (name)
{
case "buttonUp":
_drawingAirBomber.MoveTransport(DirectionType.Up);
break;
case "buttonDown":
_drawingAirBomber.MoveTransport(DirectionType.Down);
break;
case "buttonLeft":
_drawingAirBomber.MoveTransport(DirectionType.Left);
break;
case "buttonRight":
_drawingAirBomber.MoveTransport(DirectionType.Right);
break;
}