Beispiel #1
0
    sealed public override void Operation(RobotBase operatingRobotBase)
    {
        JetEngine jetEngine = operatingRobotBase.GetRobotPart <JetEngine>();

        if (jetEngine != null)
        {
            jetEngine.Destination = new Vector2(Input1.GetReporterNumberValue(operatingRobotBase), Input2.GetReporterNumberValue(operatingRobotBase));
        }
    }