Пример #1
0
 public void HandleSceneObjects(SceneChangeEvent sce)
 {
     foreach (var item in sce.scene_objects)
     {
         if (item != null)
         {
             collisionMatrix[item.x, item.y] = true;
         }
     }
 }
Пример #2
0
 public void HandleSceneChangedEvent(SceneChangeEvent e)
 {
     //render scene
     Console.WriteLine("Camera moved. Re-Drawing Scene");
 }