mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Update MovementType.php
This commit is contained in:
parent
abfc337978
commit
463ff29c19
|
|
@ -1 +1,33 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package phpOMS\Algorithm\PathFinding
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace phpOMS\Algorithm\PathFinding;
|
||||
|
||||
use phpOMS\Stdlib\Base\Enum;
|
||||
|
||||
/**
|
||||
* Heuristic type enum.
|
||||
*
|
||||
* @package phpOMS\Algorithm\PathFinding
|
||||
* @license OMS License 1.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*/
|
||||
abstract class MovementType extends Enum
|
||||
{
|
||||
public const DIAGONAL = 1;
|
||||
public const STRAIGHT = 2;
|
||||
public const DIAGONAL_ONE_OBSTACLE = 4;
|
||||
public const DIAGONAL_NO_OBSTACLE = 8;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user