Method | Description | |
---|---|---|
ChangeEffect ( |
Disables the current effect and changes it to the provided effect.
|
|
ClearEffect ( ) : void |
Clears the current effect
|
|
DisableGame ( |
Disables the given game
|
|
DisableInactiveGame ( ) : void |
Disables the current ActiveEffect if it's a game that is disabled.
|
|
EffectManager ( ILogger logger, |
||
GetLastEffect ( ) : |
Loads the last active effect from settings and enables it.
|
Method | Description | |
---|---|---|
RaiseEffectChangedEvent ( |
Method | Description | |
---|---|---|
DeviceManagerOnOnKeyboardChangedEvent ( object sender, |
public ChangeEffect ( |
||
effectModel | The effect to activate | |
loopManager | Optionally pass the LoopManager to automatically start it, if it's not running. | |
return | void |
public DisableGame ( |
||
activeEffect | ||
return | void |
public EffectManager ( ILogger logger, |
||
logger | ILogger | |
deviceManager | ||
return | System |
public GetLastEffect ( ) : |
||
return |
protected RaiseEffectChangedEvent ( |
||
e | ||
return | void |