Skip to content

Commit

Permalink
GH-139 Create shared hold time available options table
Browse files Browse the repository at this point in the history
  • Loading branch information
mdziekon committed Dec 12, 2020
1 parent 5b58e67 commit 9812215
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/flightControl/_includes.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

$includePath = $_EnginePath . 'modules/flightControl/';

include($includePath . './utils/helpers/getAvailableHoldTimes.helper.php');
include($includePath . './utils/helpers/getAvailableSpeeds.helper.php');
include($includePath . './utils/helpers/getFleetUnionJoinData.helper.php');
include($includePath . './utils/validators/fleetArray.validator.php');
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace UniEngine\Engine\Modules\FlightControl\Utils\Helpers;

/**
* @param array $props
*/
function getAvailableHoldTimes ($props) {
$availableHoldTimes = [
1,
2,
4,
8,
16,
32,
];

return $availableHoldTimes;
}

?>

0 comments on commit 9812215

Please sign in to comment.