Beispiel #1
0
 public void AddObject(IObjObject aObject)
 {
     Objects.Add(aObject);
     if (aObject.Material == null)
     {
         aObject.Material = defaultMaterial;
     }
 }
Beispiel #2
0
 public ObjGroupGameObjectTurret(ObjGroup objGroup) : base(objGroup)
 {
     objTurretTower = Objects[0];
     objTurretBase  = Objects[1];
 }
Beispiel #3
0
 public void AddObject(IObjObject aObject, ObjMaterial anObjMaterial)
 {
     aObject.Material = anObjMaterial;
     AddObject(aObject);
 }