15 lines
513 B
C#
15 lines
513 B
C#
// MyBWRSimulator.Core/Interfaces/ISimulatable.cs
|
|
namespace MyBWRSimulator.Core.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Defines the contract for any object that can participate in the simulation's time-stepping.
|
|
/// </summary>
|
|
public interface ISimulatable
|
|
{
|
|
/// <summary>
|
|
/// Updates the state of the object over a given time step.
|
|
/// </summary>
|
|
/// <param name="deltaTime">The time elapsed since the last update.</param>
|
|
void Update(double deltaTime);
|
|
}
|
|
} |