patterns/command/simpleremotecontrol/light.d

17 lines
207 B
D

module command.simpleremotecontrol.light;
import std.stdio : writeln;
class Light
{
void on()
{
writeln("Light is On");
}
void off()
{
writeln("Light is Off");
}
}