コード例 #1
0
 // Creates a new Cylinder Target with the data of the Cylinder Target with the
 // given name.
 // Returns false if Cylinder Target does not exist.
 public void GetCylinderTarget(string name, out CylinderTargetData ct)
 {
     try
     {
         ct = cylinderTargets[name];
     }
     catch
     {
         throw;
     }
 }
コード例 #2
0
ファイル: ConfigData.cs プロジェクト: enriqif/app000-ikaro
 // Set attributes of the Cylinder Target with the given name.
 // If the Cylinder Target does not yet exist it is created automatically.
 public void SetCylinderTarget(CylinderTargetData item, string name)
 {
     cylinderTargets[name] = item;
 }
コード例 #3
0
ファイル: ConfigData.cs プロジェクト: enriqif/app000-ikaro
 // Creates a new Cylinder Target with the data of the Cylinder Target with the
 // given name.
 // Returns false if Cylinder Target does not exist.
 public void GetCylinderTarget(string name, out CylinderTargetData ct)
 {
     try
     {
         ct = cylinderTargets[name];
     }
     catch
     {
         throw;
     }
 }
コード例 #4
0
 // Set attributes of the Cylinder Target with the given name.
 // If the Cylinder Target does not yet exist it is created automatically.
 public void SetCylinderTarget(CylinderTargetData item, string name)
 {
     cylinderTargets[name] = item;
 }