mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-10-08 16:16:10 +00:00
no message
This commit is contained in:
@@ -0,0 +1,140 @@
|
||||
namespace HPJ.Simulation.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// The Navigation Types a agent can use for pathfinding
|
||||
/// </summary>
|
||||
public enum NavigationTypes
|
||||
{
|
||||
None = 0, // No Navigation Possible
|
||||
Free = 1,
|
||||
JumpPointSearch = 2,
|
||||
AStar = 3,
|
||||
Unknown = 4,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The Navigation Tile Types that are availble on a Map, add more as needed
|
||||
/// </summary>
|
||||
public enum TileTypes : byte
|
||||
{
|
||||
Standard = 0,
|
||||
Blocked = 1,
|
||||
Free = 2,
|
||||
Void = 3,
|
||||
Obstacle = 4,
|
||||
Water = 5,
|
||||
OutOfBounds = 6,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Bridge Direction Types
|
||||
/// </summary>
|
||||
public enum BridgeDirections : byte
|
||||
{
|
||||
Both = 0,
|
||||
A_To_B = 1,
|
||||
B_To_A = 2,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Who has right of way based on your moving direction
|
||||
/// </summary>
|
||||
public enum RightOfWay : byte
|
||||
{
|
||||
NorthWest = 0,
|
||||
SouthEast = 1,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// How agents try to avoid each other
|
||||
/// </summary>
|
||||
public enum AvoidenceType : byte
|
||||
{
|
||||
StopAndGo = 0,
|
||||
TryToPathAround = 1,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The seam connection side
|
||||
/// </summary>
|
||||
public enum SeamConnectionSide : byte
|
||||
{
|
||||
North = 0,
|
||||
West = 1,
|
||||
South = 2,
|
||||
East = 3,
|
||||
}
|
||||
|
||||
public enum DistanceCheck
|
||||
{
|
||||
Manhatten = 0,
|
||||
Distance = 1,
|
||||
SqrDistance,
|
||||
}
|
||||
|
||||
public enum MovementType
|
||||
{
|
||||
FourDirection = 0,
|
||||
EightDirection = 1,
|
||||
}
|
||||
|
||||
public enum PathfindingCalculationStep
|
||||
{
|
||||
Incomplete = 0,
|
||||
Pathfinding = 1,
|
||||
Complete = 2,
|
||||
Finalized = 3,
|
||||
}
|
||||
|
||||
public enum SimulationDebugLog
|
||||
{
|
||||
Log = 0,
|
||||
Warning = 1,
|
||||
Error = 2,
|
||||
}
|
||||
|
||||
public enum MapExpansionSide
|
||||
{
|
||||
Top = 0,
|
||||
Bottom = 1,
|
||||
Left = 2,
|
||||
Right = 3,
|
||||
}
|
||||
|
||||
public enum PainterTypes
|
||||
{
|
||||
Square = 0,
|
||||
Circle = 1,
|
||||
}
|
||||
|
||||
public enum ObstacleValidationStates : byte
|
||||
{
|
||||
Validated = 0,
|
||||
Invalidated = 1,
|
||||
Added = 2,
|
||||
}
|
||||
|
||||
public enum AgentStates : byte
|
||||
{
|
||||
Stopped = 0,
|
||||
Paused = 1,
|
||||
Pathfinding = 2,
|
||||
Moving = 3,
|
||||
FailedPathing = 4,
|
||||
SucceededPathing = 5,
|
||||
Idle = 6,
|
||||
}
|
||||
|
||||
public enum DestinationStates : byte
|
||||
{
|
||||
None = 0,
|
||||
SameMap = 1,
|
||||
Bridge = 2,
|
||||
NextMap_FromBridge = 3,
|
||||
ClosestPoint = 4,
|
||||
Null = 5,
|
||||
SamePosition = 6,
|
||||
Seam = 7,
|
||||
NextMap_FromSeam = 8,
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1e598b475ade85241be20aea419b3429
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user