Ejemplo n.º 1
0
 /// <summary>
 /// Creates a 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 Create(JassPlayer player, JassObjectId unitId, Single x, Single y, Single facing)
 {
     return(SafeNatives.CreateUnit(player, unitId, x, y, facing));
 }