コード例 #1
0
ファイル: SceneList.cs プロジェクト: lightofanima/Polys
 /** Loads a scene from the designated path, and adds it to the internal list, overwriting any previous scenes. */
 public Scene load(String path)
 {
     path = System.IO.Path.Combine("scripts\\scenes\\", path);
     if (!System.IO.File.Exists(path))
         throw new Exception("Unable to load scene: \"" + path + "\" not found.");
     Scene scene = new Scene(path);
     mScenes[path] = scene;
     return scene;
 }
コード例 #2
0
ファイル: Ai.cs プロジェクト: lightofanima/Polys
 public void step(Scene scene, long timeParameter)
 {
 }