Update .gitignore to exclude TypeScript build info and add dist directory. Expand README with project overview, technology stack, prerequisites, and instructions for running and testing the application.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
namespace HSchool.Simulation;
|
||||
|
||||
/// <summary>Tunables of the authoritative simulation. Bound from the <c>Simulation</c> config section.</summary>
|
||||
public sealed class SimulationOptions
|
||||
{
|
||||
public const string SectionName = "Simulation";
|
||||
|
||||
/// <summary>Fixed simulation steps per second.</summary>
|
||||
public int TickRate { get; set; } = 20;
|
||||
|
||||
public float WorldWidth { get; set; } = 1600f;
|
||||
|
||||
public float WorldHeight { get; set; } = 900f;
|
||||
|
||||
public float PlayerSpeed { get; set; } = 260f;
|
||||
|
||||
public float PlayerRadius { get; set; } = 18f;
|
||||
|
||||
/// <summary>Length of one fixed step.</summary>
|
||||
public float FixedDeltaTime => 1f / TickRate;
|
||||
|
||||
public TimeSpan TickInterval => TimeSpan.FromSeconds(1d / TickRate);
|
||||
}
|
||||
Reference in New Issue
Block a user