32 lines
464 B
C#
32 lines
464 B
C#
namespace Fantasy;
|
|
|
|
public class Simulation
|
|
{
|
|
|
|
private float ElapsedTime = 0f;
|
|
private float AccumilatedTime = 0f;
|
|
|
|
private bool IsRunning = false;
|
|
|
|
public Simulation()
|
|
{
|
|
|
|
}
|
|
|
|
public void Start()
|
|
{
|
|
float dt = 0f;
|
|
IsRunning = true;
|
|
while (IsRunning)
|
|
{
|
|
|
|
this.Loop(dt);
|
|
ElapsedTime += dt;
|
|
}
|
|
}
|
|
|
|
private void Loop(float dt)
|
|
{
|
|
|
|
}
|
|
} |