Skip to content

Documentation

Anson Cheung edited this page Apr 4, 2023 · 5 revisions

Welcome to SimCovid Documentation!

You will find all the documentation for classes! The Project is split into 4 assemblies,

Assembly-Csharp

ModLoader

public class ModLoader : MonoBehaviour

For loading mods

Location: ModLoader.cs

[Deprecated] Time

public class Time

[Deprecated] Represents a time

Location: TimeModule.cs

[Deprecated] Date

public class Date

[Deprecated] Represents a date

Location: TimeModule.cs

Core

_BootLoader

public class _BootLoader : MonoBehaviour

Loads GameManager at the start of the application

Location: _BootLoader.cs

Airport

public class Airport

Represent an airport

Location: Airport.cs

AirportSO

[CreateAssetMenu(fileName = "New Airport", menuName = "Scriptable Objects/Airport")]
public class AirportSO : ScriptableObject

ScriptableObject represents an airport

Location: AirportSO.cs

AllStatesManager

public class AllStatesManager : MonoBehaviour

Handles all the states

Location: AllStatesManager.cs

CameraController

public class CameraController : MonoBehaviour 

Handles Camera movement

Location: CameraController.cs

CoreGameSO

[CreateAssetMenu(fileName = "New Core Game", menuName = "Scriptable Objects/CoreGameSO")]
public class CoreGameSO : ScriptableObject 

ScriptableObject for the resources needed for a scenario

Location: CoreGameSO.cs

DataManager

public class DataManager : MonoBehaviour 

Manages data for a scenario

Location: DataManager.cs

[Work in Progress] DeathGeneration

public class DeathGeneration : MonoBehaviour

Generate death cases

Location: DeathGeneration.cs

DataManager

public class DataManager : MonoBehaviour 

Manages data for the game

Location: DataManager.cs

SimCovidAPI

UI