Skip to content

Getting Started

Ryan Andersen edited this page Jul 10, 2022 · 3 revisions

The Simulation

Every simulation inherits from the Simulation class and overrides the OnInitialize and OnRender methods to add functionality.

A blank simulation would be:

using SimulationFramework;

class MySimulation : Simulation
{
    public override void OnInitialize(AppConfig config)
    {
    }

    public override void OnRender(ICanvas canvas)
    {
    }
}