Skip to content

Library Boilderplate #193

@Yazwh0

Description

@Yazwh0

The library boilerplate should help with this, so the user doesn't have to add this boilerplate:

import BM="BM.bmasm";
import Init="Initialisation.bmasm";

public static void Setup()
{
}

private static Action? Proc = null;

public static ZsmPlayer Create()
{
    return new ZsmPlayer();
}

public class ZsmPlayer
{
    public void Build()
    {
        Proc = () =>
        {

        };
    }
}

public override void Initialise()
{
    Setup();
}

public void Generate()
{
    if (Proc == null)
    {
        var fastDos = new FastDos();
        fastDos.Build();
    }

    Proc();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions