Class to encapsulate grid operations.
More...
#include <ControllerGrid.h>
Class to encapsulate grid operations.
◆ CControllerGrid() [1/2]
KODI::GAME::CControllerGrid::CControllerGrid |
( |
| ) |
|
|
default |
◆ CControllerGrid() [2/2]
KODI::GAME::CControllerGrid::CControllerGrid |
( |
const CControllerGrid & | other | ) |
|
|
default |
◆ ~CControllerGrid()
CControllerGrid::~CControllerGrid |
( |
| ) |
|
|
default |
◆ GetControllers()
Get the controllers in use by the specified player.
- Parameters
-
playerIndex | The column in the grid to get controllers from |
◆ GetGrid()
Access the controller grid.
◆ GetHeight()
unsigned int KODI::GAME::CControllerGrid::GetHeight |
( |
| ) |
const |
|
inline |
Get the height (deepest controller) of the controller grid.
The height is cached when the controller grid is created to avoid iterating the grid
◆ GetWidth()
unsigned int KODI::GAME::CControllerGrid::GetWidth |
( |
| ) |
const |
|
inline |
Get the width of the controller grid.
◆ SetControllerTree()
Create a grid from a controller tree.
The documentation for this class was generated from the following files: