riversong code showcase
This commit is contained in:
34
Source/Riversong/Game/World/Agents/AgentJobState.cs
Normal file
34
Source/Riversong/Game/World/Agents/AgentJobState.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using Unity.Mathematics;
|
||||
|
||||
namespace DanieleMarotta.RiversongCodeShowcase
|
||||
{
|
||||
public struct AgentJobState
|
||||
{
|
||||
public AgentJob Job;
|
||||
|
||||
public AgentStateMachineStep StateMachineStep;
|
||||
|
||||
public HarvesterJobState Harvester;
|
||||
|
||||
public FarmingJobState Farming;
|
||||
|
||||
public HunterJobState Hunter;
|
||||
|
||||
public struct HarvesterJobState
|
||||
{
|
||||
public float3 TargetPosition;
|
||||
|
||||
public int ResourceNodeId;
|
||||
}
|
||||
|
||||
public struct HunterJobState
|
||||
{
|
||||
public int TargetHerdId;
|
||||
}
|
||||
|
||||
public struct FarmingJobState
|
||||
{
|
||||
public int2? LockedTile;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user