mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
Initial commit for GitHub migration based on spice2x-25-03-03
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#include "game.h"
|
||||
|
||||
/////////////////////////
|
||||
/// Private Functions ///
|
||||
/////////////////////////
|
||||
|
||||
// add button items
|
||||
void Game::addItem(Button button) {
|
||||
this->buttons.push_back(std::move(button));
|
||||
}
|
||||
|
||||
// add analog items
|
||||
void Game::addItem(Analog analog) {
|
||||
this->analogs.push_back(std::move(analog));
|
||||
}
|
||||
|
||||
// add light items
|
||||
void Game::addItem(Light light) {
|
||||
this->lights.push_back(std::move(light));
|
||||
}
|
||||
|
||||
// add option items
|
||||
void Game::addItem(Option option) {
|
||||
this->options.push_back(std::move(option));
|
||||
}
|
||||
Reference in New Issue
Block a user