Implemented Strategy Pattern

This commit is contained in:
2019-09-11 15:53:52 -06:00
parent 58a197afbd
commit 6e42363daf
15 changed files with 169 additions and 88 deletions

View File

@@ -0,0 +1,14 @@
namespace Tello_Drone.Missions
{
public class Mission3 : IMissions
{
public void Run(Drone drone)
{
drone.Up(20);
drone.FrontFlip();
drone.BackFlip();
drone.Left(20);
drone.Right(20);
}
}
}