34 lines
664 B
C#
34 lines
664 B
C#
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;
|
|
}
|
|
}
|
|
} |