Class GameGraphicsUseCases
Aggregates all game graphics use cases for easy access and management.
Inherited Members
Namespace: Serenity.GameGraphics.Application.UseCases
Assembly: Serenity.GameGraphics.Application.dll
Syntax
public class GameGraphicsUseCases
Constructors
GameGraphicsUseCases(GameGraphicsGetCurrentQualityLevel, GameGraphicsGetQualityLevelList, GameGraphicsGetScreenResolution, SetCurrentQualityLevel, GameGraphicsSetScreenResolution)
Initializes a new instance of the GameGraphicsUseCases class.
Declaration
public GameGraphicsUseCases(GameGraphicsGetCurrentQualityLevel getCurrentQualityLevel, GameGraphicsGetQualityLevelList getQualityLevelList, GameGraphicsGetScreenResolution getScreenResolution, SetCurrentQualityLevel setCurrentQualityLevel, GameGraphicsSetScreenResolution setScreenResolution)
Parameters
| Type | Name | Description |
|---|---|---|
| GameGraphicsGetCurrentQualityLevel | getCurrentQualityLevel | The use case for getting the current quality level. |
| GameGraphicsGetQualityLevelList | getQualityLevelList | The use case for getting the list of available quality levels. |
| GameGraphicsGetScreenResolution | getScreenResolution | The use case for getting the current screen resolution. |
| SetCurrentQualityLevel | setCurrentQualityLevel | The use case for setting the current quality level. |
| GameGraphicsSetScreenResolution | setScreenResolution | The use case for setting the screen resolution. |
Fields
GetCurrentQualityLevel
Declaration
public GameGraphicsGetCurrentQualityLevel GetCurrentQualityLevel
Field Value
| Type | Description |
|---|---|
| GameGraphicsGetCurrentQualityLevel | The use case for getting the current quality level. |
GetQualityLevelList
Declaration
public GameGraphicsGetQualityLevelList GetQualityLevelList
Field Value
| Type | Description |
|---|---|
| GameGraphicsGetQualityLevelList | The use case for getting the list of available quality levels. |
GetScreenResolution
Declaration
public GameGraphicsGetScreenResolution GetScreenResolution
Field Value
| Type | Description |
|---|---|
| GameGraphicsGetScreenResolution | The use case for getting the current screen resolution. |
SetCurrentQualityLevel
Declaration
public SetCurrentQualityLevel SetCurrentQualityLevel
Field Value
| Type | Description |
|---|---|
| SetCurrentQualityLevel | The use case for setting the current quality level. |
SetScreenResolution
Declaration
public GameGraphicsSetScreenResolution SetScreenResolution
Field Value
| Type | Description |
|---|---|
| GameGraphicsSetScreenResolution | The use case for setting the screen resolution. |