public static void Clear() { if (Popper != null) { Popper.Clear(); } }
public Reader(RpcSocket socket, Header header, Popper popper) { this.socket = socket; this.header = header; this.popper = popper; mS = new MemoryStream(); bR = new BinaryReader(mS); }
public HomeTheater1(Popper popper, Screen screen, Projector projector, Amplifier amplifier, SoundSystem soundSystem, DVD dvd, CD cd, Tuner tuner) { _popper = popper; _screen = screen; _projector = projector; _amplifier = amplifier; _soundSystem = soundSystem; _dvd = dvd; _cd = cd; _tuner = tuner; }
protected override async Task OnAfterRenderAsync(bool firstrun) { if (firstrun) { await Popper.SetPopper(); } if (IsOpen ?? false) { var placement = Placement.ToDescriptionString(); await BlazorStrapInterop.Popper(Target, Id, Arrow, placement); } }
protected override async Task OnAfterRenderAsync(bool firstrun) { if (firstrun) { await Popper.SetPopper(); } if (Target != null) { var placement = Placement.ToDescriptionString(); await BlazorStrapInterop.Tooltip(Target, Tooltip, Arrow, placement); } }
public void WatchMovie() { Console.WriteLine("Get ready to watch a move:"); Popper.On(); Popper.Pop(); Popper.Off(); Lights.Dim(); Screen.Down(); Projector.On(); Amp.On(); Amp.SetDvd("Hook"); Dvd.On(); Dvd.Play(); }
static void Main(string[] args) { Amplifier amplifier = new Amplifier(); CD cd = new CD(); DVD dvd = new DVD(); Popper popper = new Popper(); Projector projector = new Projector(); Screen screen = new Screen(); SoundSystem soundSystem = new SoundSystem(); Tuner tuner = new Tuner(); Control control = new Control(new HomeTheater1(popper, screen, projector, amplifier, soundSystem, dvd, cd, tuner)); control.TurnOnDVD(); Console.Read(); }
public HomeTheaterFacade(Amp amp, Popper popper, Screen screen) { _amp = amp; _popper = popper; _screen = screen; }
public HomeTheaterFacade(Popper popper, Screen screen, CDPlayer cdPlayer) { this._popper = popper; this._screen = screen; this._cdPlayer = cdPlayer; }
public StatusFreeze(Sprite[] sp, Popper popp, char c) { frozen_keys = sp; player_popper = popp; }
public StatusShock(char swap, char origin, Popper popp) { swapped = swap; this.original = origin; this.player_popper = popp; }
public StatusBurn(Player p, Popper popp, char c) { this.p = p; this.player_popper = popp; }