11 lines
198 B
C++
11 lines
198 B
C++
#include "Switch.h"
|
|
|
|
Switch::Switch() { this->type = Thing::SwitchType; }
|
|
|
|
bool Switch::IsOn() { return false; }
|
|
|
|
bool Switch::IsOff() {
|
|
bool isOn = IsOn();
|
|
bool isOff = !isOn;
|
|
return isOff;
|
|
} |