示例#1
0
 public static JassItem Create(JassObjectId itemid, Single x, Single y)
 {
     return(SafeNatives.CreateItem(itemid, x, y));
 }
示例#2
0
 /// <summary>
 /// Creates a dead unit.
 /// </summary>
 /// <param name="player">The owner of the unit.</param>
 /// <param name="unitId">The id of the unit type.</param>
 /// <param name="x">The position of the unit.</param>
 /// <param name="y">The position of the unit.</param>
 /// <param name="facing">The facing of the unit.</param>
 /// <returns>A unit.</returns>
 public static JassUnit CreateCorpse(JassPlayer player, JassObjectId unitid, Single x, Single y, Single facing)
 {
     return(SafeNatives.CreateCorpse(player, unitid, x, y, facing));
 }
示例#3
0
 public void SetDropID(JassObjectId unitId)
 {
     SafeNatives.SetItemDropID(this, unitId);
 }