Exemplo n.º 1
0
 public void addToEnd(UC_Renderable r)
 {
     rlist.Add(r);
 }
Exemplo n.º 2
0
 /// <summary>
 /// replaces returning the old value
 /// </summary>
 /// <param name="num"></param>
 /// <param name="r"></param>
 /// <returns></returns>
 public UC_Renderable replace(int num, UC_Renderable r)
 {
     UC_Renderable retv = rlist[num];
     rlist[num] = r;
     return retv;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Adds a new renderable - make the assumption that inactive renderables 
 /// are able to be destryoyed
 /// </summary>
 /// <param name="r"></param>
 public void addReuse(UC_Renderable r)
 {
     int i = findInactive();
     if (i==-1) rlist.Add(r);
     else rlist[i] = r;
 }