Ejemplo n.º 1
0
 /// <summary>
 /// Add a basic object
 /// </summary>
 /// <param name="basicObject">A basic object</param>
 public virtual void Add(YnBasicEntity basicObject)
 {
     _baseList.Add(basicObject);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Add a basic object to the scene.
 /// </summary>
 /// <param name="basicObject">A basic object like Timer, Camera, etc...</param>
 /// <returns>Return true if the object has been added, otherwise return false.</returns>
 public bool Add(YnBasicEntity basicObject)
 {
     return(_basicObjects.Add(basicObject));
 }