Add default implementation in Module class

This commit is contained in:
2026-02-22 21:12:00 -05:00
parent 28e31473a8
commit 9066ccd721
10 changed files with 27 additions and 71 deletions

View File

@@ -41,3 +41,25 @@ void Module::update_module_metadata(const Messaging::TopologyMessage &message) {
m_neighbours.emplace_back(neighbour{id, static_cast<Orientation>(ori)});
}
}
double Module::get_position() {
// no-op
return 0;
}
std::string Module::get_text() {
// no-op
return "";
}
void Module::actuate(double /* position */) {
// no-op
}
void Module::actuate(double /* x */, double /* y */) {
// no-op
}
void Module::actuate(const std::string &text) {
// no-op
}