コード例 #1
0
ファイル: Scene.cs プロジェクト: AlexSolari/Evo
 /// <summary>
 /// Remove a surface from the list of targets that the scene should render to.
 /// </summary>
 /// <param name="target"></param>
 public void RemoveSurface(Surface target)
 {
     if (Surfaces == null)
     {
         Surfaces = new List <Surface>();
     }
     Surfaces.Remove(target);
 }
コード例 #2
0
ファイル: Entity.cs プロジェクト: aleffeh/JaquinsQuest
 /// <summary>
 /// Remove a surface from the list of surfaces that the entity should render to.
 /// </summary>
 /// <param name="target"></param>
 public void RemoveSurface(Surface target)
 {
     Surfaces.Remove(target);
 }
コード例 #3
0
ファイル: Game.cs プロジェクト: aleffeh/JaquinsQuest
 /// <summary>
 /// Remove a surface from the list of surfaces to be rendered to the window.
 /// </summary>
 /// <param name="surface">The surface to remove.</param>
 public void RemoveSurface(Surface surface)
 {
     Surfaces.Remove(surface);
 }