Beispiel #1
0
    public void Load()
    {
        _player.Model = JsonConvert.DeserializeObject <PlayerModel>(File.ReadAllText(Application.persistentDataPath + "-Player.json"));

        _galaxy.Load(0);
        _star.Load(0);
        _planet.Load(0);

        clock.StartTimer();
    }
        public void Contact()
        {
            // Arrange
            StarController controller = new StarController();

            // Act
            ViewResult result = controller.Load() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }