Skip to content

Controller

Source

namespace GameSense

public static class Controller


Controls the GameSense SDK. Will do the most things you need.

Summary

Properties

public static

Type Property Get Set
IKeyboardAnimator KeyboardBackground
IKeyAnimator DefaultKeyAnimation
IMouseAnimator MouseBackground
string GameName
string GameDisplayName
string Developer

Methods

public static

Returns Method
void Stop()

Properties

KeyboardBackground

Source · Default:

public static IKeyboardAnimator KeyboardBackground {set;}

Sets the IKeyboardAnimator used for the keyboard background.


DefaultKeyAnimation

Source · Default:

public static IKeyAnimator DefaultKeyAnimation {set;}

Sets the IKeyAnimator used on key strokes.


MouseBackground

Source · Default: · Not Implemented!

public static IMouseAnimator MouseBackground {set;}

Sets the IMouseAnimator used as mouse background.


GameName

Source · Default:

public static string GameName {set;}

Sets the name of the game.

Naming restrictions

Name is limited to uppercase A-Z, 0-9, hyphen, and underscore characters.


GameDisplayName

Source · Default:

public static string GameDisplayName {set;}

Sets the name of the game that will be seen in the GameSense Engine.


Developer

Source · Default:

public static string Developer {set;}

Sets the developer of the game.


Methods

Stop

Source

public static void Stop()

Stops GameSense. Should be called at the end of the program.