示例#1
0
 /// <summary>
 /// Removes the given background from the rendering engine
 /// </summary>
 /// <param name="bg">the background to remove</param>
 public void removeBackground(Background bg)
 {
     bgs.Remove(bg);
 }
示例#2
0
 /// <summary>
 /// Adds the given background to the rendering engine (so it can be rendered)
 /// </summary>
 /// <param name="bg">The background to be added</param>
 public void addBackground(Background bg)
 {
     bgs.Add(bg);
 }