Skip to content

Cheat Sheet

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

This page provides a quick rundown of everything you need to know to use SimulationFramework.

core types:

  • Simulation
    • The entry point to your application
  • ICanvas:
    • Used for drawing stuff to the screen or a texture
  • Graphics:
    • used for creating textures and fonts
  • Time:
    • Provides time-related values, like DeltaTime and TotalTime
  • Keyboard:
    • provides keyboard input
  • Mouse:
    • provides mouse input
  • Gamepad
    • provides gamepad input

frequently used:

  • Color and ColorF
  • Rectangle

utility types:

  • Angle:
    • helper for angles, including degree/radian conversion and interpolation, and other angle math
  • MathHelper:
    • miscellaneous math utilities
  • Polygon:
    • polygon-related utilities like collision or triangulation
  • MatrixBuilder:
    • provides a builder-pattern-like api for composing matrices