public override void SensorsUpdated(int nC, RectangleRepresentation rI, CircleRepresentation cI, CollectibleRepresentation[] colI) { DeprecatedSensorsUpdated(nC, rI.ToArray(), cI.ToArray(), CollectibleRepresentation.RepresentationArrayToFloatArray(colI)); }
public override void Setup(CountInformation nI, RectangleRepresentation rI, CircleRepresentation cI, ObstacleRepresentation[] oI, ObstacleRepresentation[] rPI, ObstacleRepresentation[] cPI, CollectibleRepresentation[] colI, Rectangle area, double timeLimit) { //convert to old way in order to maintain compatibility DeprecatedSetup( nI.ToArray(), rI.ToArray(), cI.ToArray(), ObstacleRepresentation.RepresentationArrayToFloatArray(oI), ObstacleRepresentation.RepresentationArrayToFloatArray(rPI), ObstacleRepresentation.RepresentationArrayToFloatArray(cPI), CollectibleRepresentation.RepresentationArrayToFloatArray(colI), area, timeLimit); }