Esempio n. 1
0
        public void Visit(Digger digger)
        {
            log.Verbose("{actor} visit {item} with {stamina}", "Digger", "Camp", digger.Stamina);
            digger.Stamina = digger.MaxStamina;

            service.Send(new DiggerInCamp());
        }
Esempio n. 2
0
        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();
        }
Esempio n. 3
0
 public void OpenStore()
 {
     hub.Send(new PlayerOpenStore());
 }
Esempio n. 4
0
        public void Visit(Digger digger)
        {
            log.Verbose("{actor} visit {item} with {stamina}", "Digger", "Store", digger.Stamina);

            service.Send(new DiggerInStore(digger));
        }