Extension of the BaseMenuItem class to allow users to select a Loco.
More...
#include <LocoMenuItem.h>
|
| | LocoMenuItem (Loco *loco) |
| | Constructor for the loco menu item objects.
|
| |
| Loco * | getLoco () |
| | Get the Loco object associated with this menu item.
|
| |
Extension of the BaseMenuItem class to allow users to select a Loco.
◆ LocoMenuItem()
| LocoMenuItem::LocoMenuItem |
( |
Loco * |
loco | ) |
|
Constructor for the loco menu item objects.
- Parameters
-
| object | Pointer to the Loco object to associate with this menu item |
◆ getLoco()
| Loco * LocoMenuItem::getLoco |
( |
| ) |
|
Get the Loco object associated with this menu item.
- Returns
- Pointer to the Loco object
◆ _loco
| Loco* LocoMenuItem::_loco |
|
private |
The documentation for this class was generated from the following files: