En:FillRoofTilesByArray
Материал из Pocket Fallout для КПК на PDA PC PPC Mobile.
Содержание |
[править]
Account
Method of class MapBuilder
[править]
Syntax
FillRoofTilesByArray(x_value : Number, y_value : Number, width : Number, height : Number, index_array : Number, array_size : Number, allocate_random : Boolean, group_index : Number)
[править]
Description
Create location ceiling by using array of tile image indexes;
[править]
Parameters
- x_value - number. Original X-coordinate of relative tile (hexagon) with which filling will begin;
- y_value - number. Original Y-coordinate of relative tile (hexagon) with which filling will begin;
- width - number. Width of location land surface (in tiles);
- height - number. Height of location land surface (in tiles);
- index_array - number. Image indexes array;
- array_size - number. Array size;
- allocate_random - boolean. If value TRUE - allocate random, if value FALSE - allocatу linear;
- group_index - number. Group index;
[править]
Result
The method returns nothing;
[править]
See also
Method MapBuilder.AddTileImage
Method MapBuilder.FillMapTilesByArray