Пример #1
0
 /// <summary>
 /// Creates a unit.
 /// </summary>
 /// <param name="player">The owner of the unit.</param>
 /// <param name="unitname">The name 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 Create(JassPlayer player, String unitname, Single x, Single y, Single facing)
 {
     return(SafeNatives.CreateUnitByName(player, unitname, x, y, facing));
 }