Need to work on Getting the Missions running, There is currently an issue with the UDP Client sending to a bad IP
This commit is contained in:
15
Tello Drone/DroneFactory.cs
Normal file
15
Tello Drone/DroneFactory.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Tello_Drone
|
||||
{
|
||||
public class DroneFactory : IDroneFactory
|
||||
{
|
||||
private readonly IDroneCommands _droneCommands;
|
||||
private Drone _createDrone;
|
||||
|
||||
public DroneFactory(IDroneCommands droneCommands)
|
||||
{
|
||||
_droneCommands = droneCommands;
|
||||
}
|
||||
|
||||
public Drone CreateDrone => new Drone(_droneCommands);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user