public void TestPropertiesSetAfterInstantiate()
        {
            var game = new Game(SkillLevel.Beginner);
            var m    = new GameFinishedMessage(game);

            Assert.AreEqual <IGame>(game, m.Game);
        }
Beispiel #2
0
        public void SendGameFinished(int deviceId, GameFinishedMessage message)
        {
#if !DISABLE_AIRCONSOLE
            AirConsole.instance.Message(deviceId, JsonConvert.SerializeObject(message));
#endif
        }