patterns/command/remote/stereooffcommand.d

20 lines
282 B
D
Raw Normal View History

2022-12-05 07:38:19 +00:00
module command.remote.stereooffcommand;
import command.remote.command;
import command.remote.stereo;
class StereoOffCommand : Command
{
Stereo stereo;
this(Stereo stereo)
{
this.stereo = stereo;
}
void execute()
{
stereo.off();
}
}