Table of Contents

Namespace MohawkGame2D

Classes

Audio

Access audio functions.

Draw

Access shape drawing functions.

Game

Your game code goes inside this class!

Graphics

Access texture drawing functions.

Input

Access player input functions.

Random

Generate random values.

Text

Access text drawing functions.

Time

Access time information.

Window

Access window information.

Structs

Color

Represents an RGBA color (32-bit) using 8-bit byte color components (numbers from 0 to 255).

ColorF

Represents an RGBA color (128-bit) using 32-bit float color components (numbers from 0.0f to 1.0f).

Font

Represents a font.

Music

Represents a music file (audio over 10s long).

Sound

Represents a sound file (audio 10s or less).

Texture2D

Represents a 2D texture.

Enums

ControllerAxis

Defines the various controller axes (analog inputs) in a generic way.

ControllerButton

Defines the various controller buttons (digital inputs) on a generic way.

KeyboardInput

Defines keyboard keys.

MouseInput

Defines mouse buttons.

PolygoneMode

Mode for drawing polygons.