Exemplo n.º 1
0
        private void ManualCall(string argument)
        {
            switch (argument)
            {
            case "up":
                MyThruster.MoveToUp();
                break;

            case "down":
                MyThruster.MoveToDown();
                break;

            case "base":
                MyThruster.MoveToBase();
                break;

            case "in":
                MyThruster.MoveToIn();
                break;

            case "unlock":
                MyThruster.Unlock();
                break;

            case "lock":
                MyThruster.Lock();
                break;

            default:
                Echo($"Invalid action: {argument}");
                break;
            }
        }