En:AddCityToMap

Материал из Pocket Fallout для КПК на PDA PC PPC Mobile.

Содержание

Account

Method of class WorldCity

Syntax

AddCityToMap(x_value : Number, 
             y_value : Number, 
             x_offset : Number,  
             y_offset : Number, 
             visibility : Boolean)

Description

Add earlier created city (with help method CreateCity) to worldmap;

Parameters

  • x_value - number. X - coordinate of worldmap cell;
  • y_value - number. Y - coordinate of worldmap cell;
  • x_offset - number. Offset (in pixels) over X axes from centre of worldmap cell;
  • y_offset - number. Offset (in pixels) over Y axes from centre of worldmap cell;
  • visibility - boolean. If value is TRUE city is visible, if it is FALSE city is invisible;

Result

The method returns nothing;

Личные инструменты