Esempio n. 1
0
 private void WorldViewModelOnOnWorldSet(TerraWorld world)
 {
     AddEntities(_worldViewModel.GetRuntimeEntities());
 }
 private void OnWorldLoaded(TerraWorld world)
 {
     _terraWorldViewModel.SetWorld(world);
 }
Esempio n. 3
0
 private void TerraWorldViewModelOnWorldSet(TerraWorld world)
 {
     /* _terraEntitiesViewModel.AddEntity(new RuntimeTerraEntity(
      *   new TerraEntity("Player"), world
      * ));*/
 }
 public void SetWorld(TerraWorld world)
 {
     _world = world;
     OnWorldSet?.Invoke(world);
 }