riversong code showcase
This commit is contained in:
15
Source/Riversong/Game/World/Agents/IAgentFactory.cs
Normal file
15
Source/Riversong/Game/World/Agents/IAgentFactory.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Unity.Mathematics;
|
||||
|
||||
namespace DanieleMarotta.RiversongCodeShowcase
|
||||
{
|
||||
public interface IAgentFactory
|
||||
{
|
||||
void InitializeAgentSource(IAgentSourceEntity source);
|
||||
|
||||
bool CanSpawnAgent(IAgentSourceEntity source, int maxAgentCount = int.MaxValue, AgentJob job = AgentJob.None);
|
||||
|
||||
Agent CreateVillager(AgentDefinition definition, IAgentSourceEntity source, float3 position, AgentJob job = AgentJob.None);
|
||||
|
||||
Agent CreateCritter(CritterDefinition critterDefinition, IAgentSourceEntity source, float3 position);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user