-
Notifications
You must be signed in to change notification settings - Fork 0
Core
-
Core.Instance(Core): Returns the singleton instance of the Core. -
Core.DefaultFont(SpriteFont): Default Arial font. -
Core.currentKeyState(KeyboardState): Returns the current Keyboard state. -
Core.lastKeyState(KeyboardState): Returns the Keyboard state from one frame ago. -
Core.currentMouseState(MouseState): Returns the current Mouse state. -
Core.lastMouseState(MouseState): Returns the Mouse state from one frame ago. -
Core._spriteBatch(SpriteBatch): Used for lower-level rendering. Mostly used in Components. -
Core.currentScene(Scene): Returns the currently loaded scene. -
Core.UI(Scene): Scene that ignores the camera. Used for UI Elements. -
Core.cameraWorldPosition(Vector2): The current position of the camera in the world. -
Core.screenCentre(Vector2): Returns the center of the window. -
Core.rng(Random): Built-in Random class. -
Core.backgroundColor(Color): Used when rendering the solid color background. -
Core.ResolutionWidth(int): Set to change the window resolution. -
Core.ResolutionHeight(int): Set to change the window resolution. -
Core.ScreenPointToWorldPoint(Vector2)(Vector2): Converts a point on the screen into a point inside the world.