private void SendExtinguishUpdate(bool canBeIgnited) { var update = new Flammable.Update(); update.SetIsOnFire(false).SetCanBeIgnited(canBeIgnited); flammable.Send(update); }
private void SendIgniteUpdate() { var update = new Flammable.Update(); update.SetIsOnFire(true).SetCanBeIgnited(false); flammable.Send(update); }