14 lines
343 B
C++
14 lines
343 B
C++
#include "Roboid.h"
|
|
|
|
Roboid::Roboid() {
|
|
this->configuration = nullptr;
|
|
this->thingCount = 0;
|
|
}
|
|
|
|
Roboid::Roboid(Placement configuration[], unsigned int thingCount) {
|
|
this->configuration = configuration;
|
|
this->thingCount = thingCount;
|
|
|
|
sensing.AddSensors(configuration, thingCount);
|
|
propulsion.AddMotors(configuration, thingCount);
|
|
} |