Implemented Strategy Pattern
This commit is contained in:
12
Tello Drone/Missions/Mission1.cs
Normal file
12
Tello Drone/Missions/Mission1.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace Tello_Drone.Missions
|
||||
{
|
||||
public class Mission1 : IMissions
|
||||
{
|
||||
|
||||
public void Run(Drone drone)
|
||||
{
|
||||
drone.Up(20);
|
||||
drone.Land();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user