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;