Beispiel #1
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));
 }