Update MovementType.php

This commit is contained in:
Dennis Eichhorn 2019-08-20 16:02:46 +02:00 committed by GitHub
parent abfc337978
commit 463ff29c19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}