Refactor simulation and viewer architecture
This commit is contained in:
10
apps/backend/Simulation/AI/IShipBehaviorState.cs
Normal file
10
apps/backend/Simulation/AI/IShipBehaviorState.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace SpaceGame.Simulation.Api.Simulation;
|
||||
|
||||
internal interface IShipBehaviorState
|
||||
{
|
||||
string Kind { get; }
|
||||
|
||||
void Plan(SimulationEngine engine, ShipRuntime ship, SimulationWorld world);
|
||||
|
||||
void ApplyEvent(SimulationEngine engine, ShipRuntime ship, SimulationWorld world, string controllerEvent);
|
||||
}
|
||||
Reference in New Issue
Block a user