using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace Awperative; /// /// Initiating class of Awperative. Call Start() to start the kernel. /// public static class Awperative { //Inherits MonoGame and carries events. public static Base Base; public static List LoadedScenes = []; //Handles, graphic Settings, drawing, and loading content respectively. public static GraphicsDeviceManager GraphicsDeviceManager { get; internal set; } public static SpriteBatch SpriteBatch { get; internal set; } public static ContentManager ContentManager { get; internal set; } //Entry points for code internal static List EventHooks { get; private set; } /// /// Start() begins the game; and begins communication with all event hooks. /// /// List of all event hooks you wish to use. /// You cannot add new hooks later; so make sure to register all of them in the Start() method. public static void Start(List __hooks) { EventHooks = __hooks; Base = new Base(); Base.Run(); } }