public void Visit(Digger digger) { log.Verbose("{actor} visit {item} with {stamina}", "Digger", "Camp", digger.Stamina); digger.Stamina = digger.MaxStamina; service.Send(new DiggerInCamp()); }
public void testname() { var service = new CommandHubService(); var dumbService = new DumbService(); // act service.Subscribe <Something>(dumbService.Do); service.Send(new Something()); dumbService.Done .Should() .BeTrue(); }
public void OpenStore() { hub.Send(new PlayerOpenStore()); }
public void Visit(Digger digger) { log.Verbose("{actor} visit {item} with {stamina}", "Digger", "Store", digger.Stamina); service.Send(new DiggerInStore(digger)); }