コード例 #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");
 }