Class SurfaceManager
Constructors
(constructor)(_productHandler)
Constructs a new instance of the SurfaceManager class
Declaration
constructor(_productHandler: ProductHandler);
Parameters
Methods
getNextSurface(spinIndex)
Declaration
getNextSurface(spinIndex?: number): Promise<Surface>;
Parameters
| Type |
Name |
Description |
| number |
spinIndex |
|
Returns
switchSurfaceBackward()
Declaration
switchSurfaceBackward(): Promise<void>;
Returns
| Type |
Description |
| Promise<void> |
|
switchSurfaceForward()
Declaration
switchSurfaceForward(): Promise<void>;
Returns
| Type |
Description |
| Promise<void> |
|
switchToNextSurface()
Declaration
switchToNextSurface(): void;
Returns
switchToSurface(newSurface)
Declaration
switchToSurface(newSurface: Surface): Promise<void>;
Parameters
| Type |
Name |
Description |
| Surface |
newSurface |
|
Returns
| Type |
Description |
| Promise<void> |
|