-
Notifications
You must be signed in to change notification settings - Fork 0
/
classcity__x.html
627 lines (578 loc) · 37.4 KB
/
classcity__x.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Simutrans-Squirrel-API: city_x Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Simutrans-Squirrel-API
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classcity__x-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">city_x Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for city_x:</div>
<div class="dyncontent">
<div class="center">
<img src="classcity__x.png" usemap="#city_5Fx_map" alt=""/>
<map id="city_5Fx_map" name="city_5Fx_map">
<area href="classcoord.html" alt="coord" shape="rect" coords="0,0,93,24"/>
<area href="classextend__get.html" alt="extend_get" shape="rect" coords="103,0,196,24"/>
<area href="classingame__object.html" alt="ingame_object" shape="rect" coords="206,0,299,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ga36c3f9d7c4ae23024aea82dae17cbd53"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="group__game__cmd.html#ga36c3f9d7c4ae23024aea82dae17cbd53">change_size</a> (integer delta)</td></tr>
<tr class="separator:ga36c3f9d7c4ae23024aea82dae17cbd53"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8dc3f7930c7a1705e0b2932d0191ff83"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a8dc3f7930c7a1705e0b2932d0191ff83">city_x</a> (integer <a class="el" href="classcoord.html#a31d0b44c0bfcea55a67587a3d8fe2348">x</a>, integer <a class="el" href="classcoord.html#a77e983dd41d55fb0594e983cc1cbcf15">y</a>)</td></tr>
<tr class="separator:a8dc3f7930c7a1705e0b2932d0191ff83"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a19196a1ea5de308a4bb100aeaa59741e"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a19196a1ea5de308a4bb100aeaa59741e">get_buildings</a> ()</td></tr>
<tr class="separator:a19196a1ea5de308a4bb100aeaa59741e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4ace13c505de75797c57810877e577f4"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a4ace13c505de75797c57810877e577f4">get_citizens</a> ()</td></tr>
<tr class="separator:a4ace13c505de75797c57810877e577f4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0144e1dd7af1c9809da2d89c13edcb75"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a0144e1dd7af1c9809da2d89c13edcb75">get_citycars</a> ()</td></tr>
<tr class="separator:a0144e1dd7af1c9809da2d89c13edcb75"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad1b1d526b6685bcc1fca44265d76e3e2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#ad1b1d526b6685bcc1fca44265d76e3e2">get_citygrowth_enabled</a> ()</td></tr>
<tr class="separator:ad1b1d526b6685bcc1fca44265d76e3e2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa8a3a5f6120634af3f22b5c057186992"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#aa8a3a5f6120634af3f22b5c057186992">get_generated_mail</a> ()</td></tr>
<tr class="separator:aa8a3a5f6120634af3f22b5c057186992"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae02e9f8363797918d7adc3a70fb49841"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#ae02e9f8363797918d7adc3a70fb49841">get_generated_pax</a> ()</td></tr>
<tr class="separator:ae02e9f8363797918d7adc3a70fb49841"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af3516e2248d6882f1b45b150a5996102"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#af3516e2248d6882f1b45b150a5996102">get_growth</a> ()</td></tr>
<tr class="separator:af3516e2248d6882f1b45b150a5996102"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8faf040177dc30a41e47a4716d299cf3"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a8faf040177dc30a41e47a4716d299cf3">get_name</a> ()</td></tr>
<tr class="separator:a8faf040177dc30a41e47a4716d299cf3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa4e0cdb5fcc8af3aa45320601386cdad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcoord.html">coord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#aa4e0cdb5fcc8af3aa45320601386cdad">get_pos</a> ()</td></tr>
<tr class="separator:aa4e0cdb5fcc8af3aa45320601386cdad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a389d985a747bcd69918ac183bb99b2c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcoord.html">coord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a389d985a747bcd69918ac183bb99b2c6">get_pos_nw</a> ()</td></tr>
<tr class="separator:a389d985a747bcd69918ac183bb99b2c6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a90331e6fe1db739e7ed013657cbe3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcoord.html">coord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a2a90331e6fe1db739e7ed013657cbe3f">get_pos_se</a> ()</td></tr>
<tr class="separator:a2a90331e6fe1db739e7ed013657cbe3f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acfcf2db92883dc787ecd9210877bfba7"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#acfcf2db92883dc787ecd9210877bfba7">get_transported_mail</a> ()</td></tr>
<tr class="separator:acfcf2db92883dc787ecd9210877bfba7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:add541632de65b3edc2f6efa3284da859"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#add541632de65b3edc2f6efa3284da859">get_transported_pax</a> ()</td></tr>
<tr class="separator:add541632de65b3edc2f6efa3284da859"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4027a9debacc2494dc5ca5cee2cb196f"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a4027a9debacc2494dc5ca5cee2cb196f">get_year_buildings</a> ()</td></tr>
<tr class="separator:a4027a9debacc2494dc5ca5cee2cb196f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a75d676a96b7033c81ac196584b81a54f"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a75d676a96b7033c81ac196584b81a54f">get_year_citizens</a> ()</td></tr>
<tr class="separator:a75d676a96b7033c81ac196584b81a54f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a21e877472a7e41426e281497639eaa69"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a21e877472a7e41426e281497639eaa69">get_year_citycars</a> ()</td></tr>
<tr class="separator:a21e877472a7e41426e281497639eaa69"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3a94af115ed55e7e01962c0daef5d919"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a3a94af115ed55e7e01962c0daef5d919">get_year_generated_mail</a> ()</td></tr>
<tr class="separator:a3a94af115ed55e7e01962c0daef5d919"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a448fc4ce8d3d56f8286e2c2f582c0096"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a448fc4ce8d3d56f8286e2c2f582c0096">get_year_generated_pax</a> ()</td></tr>
<tr class="separator:a448fc4ce8d3d56f8286e2c2f582c0096"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4d0afaaa6e930ce74b9f78929fd5f623"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a4d0afaaa6e930ce74b9f78929fd5f623">get_year_growth</a> ()</td></tr>
<tr class="separator:a4d0afaaa6e930ce74b9f78929fd5f623"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab6d7a895ffeb2bda32225a4839f2eeb7"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#ab6d7a895ffeb2bda32225a4839f2eeb7">get_year_transported_mail</a> ()</td></tr>
<tr class="separator:ab6d7a895ffeb2bda32225a4839f2eeb7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a32a9c6513cec4855efb31e5ef05045ac"><td class="memItemLeft" align="right" valign="top">array< integer > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a32a9c6513cec4855efb31e5ef05045ac">get_year_transported_pax</a> ()</td></tr>
<tr class="separator:a32a9c6513cec4855efb31e5ef05045ac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ac784ba19884725b0d64478fed0dc40"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcity__x.html#a5ac784ba19884725b0d64478fed0dc40">is_valid</a> ()</td></tr>
<tr class="separator:a5ac784ba19884725b0d64478fed0dc40"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga16aaa8b5a97bc0d697a389397483b5ec"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__game__cmd.html#ga16aaa8b5a97bc0d697a389397483b5ec">set_citygrowth_enabled</a> (bool)</td></tr>
<tr class="separator:ga16aaa8b5a97bc0d697a389397483b5ec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0863c1f13de80fc9b2adb94384f25d18"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rename__func.html#ga0863c1f13de80fc9b2adb94384f25d18">set_name</a> (string)</td></tr>
<tr class="separator:ga0863c1f13de80fc9b2adb94384f25d18"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcoord"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcoord')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classcoord.html">coord</a></td></tr>
<tr class="memitem:ab7df16d922ba90a06d29f4056afdd972 inherit pub_methods_classcoord"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcoord.html#ab7df16d922ba90a06d29f4056afdd972">_tostring</a> ()</td></tr>
<tr class="separator:ab7df16d922ba90a06d29f4056afdd972 inherit pub_methods_classcoord"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a420d2df22c044db935f60ead330da9bb inherit pub_methods_classcoord"><td class="memItemLeft" align="right" valign="top"><a id="a420d2df22c044db935f60ead330da9bb"></a>
 </td><td class="memItemRight" valign="bottom"><b>coord</b> (int <a class="el" href="classcoord.html#a31d0b44c0bfcea55a67587a3d8fe2348">x</a>, int <a class="el" href="classcoord.html#a77e983dd41d55fb0594e983cc1cbcf15">y</a>)</td></tr>
<tr class="separator:a420d2df22c044db935f60ead330da9bb inherit pub_methods_classcoord"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa4827cc01e0bde2e7ec51806b410e153 inherit pub_methods_classcoord"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcoord.html#aa4827cc01e0bde2e7ec51806b410e153">href</a> (string text)</td></tr>
<tr class="separator:aa4827cc01e0bde2e7ec51806b410e153 inherit pub_methods_classcoord"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac1b0453647a1134620a50d0313d8607f inherit pub_methods_classcoord"><td class="memItemLeft" align="right" valign="top"><a id="ac1b0453647a1134620a50d0313d8607f"></a>
<a class="el" href="classcoord.html">coord</a> </td><td class="memItemRight" valign="bottom"><b>operator*</b> (integer fac)</td></tr>
<tr class="separator:ac1b0453647a1134620a50d0313d8607f inherit pub_methods_classcoord"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af021b4c3f073f9baeaf1d8f9c4c2847d inherit pub_methods_classcoord"><td class="memItemLeft" align="right" valign="top"><a id="af021b4c3f073f9baeaf1d8f9c4c2847d"></a>
<a class="el" href="classcoord.html">coord</a> </td><td class="memItemRight" valign="bottom"><b>operator+</b> (<a class="el" href="classcoord.html">coord</a> other)</td></tr>
<tr class="separator:af021b4c3f073f9baeaf1d8f9c4c2847d inherit pub_methods_classcoord"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adef25f06f5b2adb67d373adf1157485a inherit pub_methods_classcoord"><td class="memItemLeft" align="right" valign="top"><a id="adef25f06f5b2adb67d373adf1157485a"></a>
<a class="el" href="classcoord.html">coord</a> </td><td class="memItemRight" valign="bottom"><b>operator-</b> (<a class="el" href="classcoord.html">coord</a> other)</td></tr>
<tr class="separator:adef25f06f5b2adb67d373adf1157485a inherit pub_methods_classcoord"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af395a5da1cdcda17793d4e768807b6ad inherit pub_methods_classcoord"><td class="memItemLeft" align="right" valign="top"><a id="af395a5da1cdcda17793d4e768807b6ad"></a>
<a class="el" href="classcoord.html">coord</a> </td><td class="memItemRight" valign="bottom"><b>operator-</b> ()</td></tr>
<tr class="separator:af395a5da1cdcda17793d4e768807b6ad inherit pub_methods_classcoord"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3a277a6d561f09bb3d51ef4456503515 inherit pub_methods_classcoord"><td class="memItemLeft" align="right" valign="top"><a id="a3a277a6d561f09bb3d51ef4456503515"></a>
<a class="el" href="classcoord.html">coord</a> </td><td class="memItemRight" valign="bottom"><b>operator/</b> (integer fac)</td></tr>
<tr class="separator:a3a277a6d561f09bb3d51ef4456503515 inherit pub_methods_classcoord"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a46a03145891ad2c80f75ebc8d46bdeb0 inherit pub_methods_classcoord"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdir.html">dir</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcoord.html#a46a03145891ad2c80f75ebc8d46bdeb0">to_dir</a> ()</td></tr>
<tr class="separator:a46a03145891ad2c80f75ebc8d46bdeb0 inherit pub_methods_classcoord"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_classcoord"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classcoord')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="classcoord.html">coord</a></td></tr>
<tr class="memitem:a31d0b44c0bfcea55a67587a3d8fe2348 inherit pub_attribs_classcoord"><td class="memItemLeft" align="right" valign="top"><a id="a31d0b44c0bfcea55a67587a3d8fe2348"></a>
integer </td><td class="memItemRight" valign="bottom"><a class="el" href="classcoord.html#a31d0b44c0bfcea55a67587a3d8fe2348">x</a></td></tr>
<tr class="memdesc:a31d0b44c0bfcea55a67587a3d8fe2348 inherit pub_attribs_classcoord"><td class="mdescLeft"> </td><td class="mdescRight">x-coordinate <br /></td></tr>
<tr class="separator:a31d0b44c0bfcea55a67587a3d8fe2348 inherit pub_attribs_classcoord"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a77e983dd41d55fb0594e983cc1cbcf15 inherit pub_attribs_classcoord"><td class="memItemLeft" align="right" valign="top"><a id="a77e983dd41d55fb0594e983cc1cbcf15"></a>
integer </td><td class="memItemRight" valign="bottom"><a class="el" href="classcoord.html#a77e983dd41d55fb0594e983cc1cbcf15">y</a></td></tr>
<tr class="memdesc:a77e983dd41d55fb0594e983cc1cbcf15 inherit pub_attribs_classcoord"><td class="mdescLeft"> </td><td class="mdescRight">y-coordinate <br /></td></tr>
<tr class="separator:a77e983dd41d55fb0594e983cc1cbcf15 inherit pub_attribs_classcoord"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class to access cities. </p>
<p class="definition">Definition at line <a class="el" href="api__city_8cc_source.html#l00031">31</a> of file <a class="el" href="api__city_8cc_source.html">api_city.cc</a>.</p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a8dc3f7930c7a1705e0b2932d0191ff83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dc3f7930c7a1705e0b2932d0191ff83">◆ </a></span>city_x()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">city_x::city_x </td>
<td>(</td>
<td class="paramtype">integer </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">integer </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>x-coordinate </td></tr>
<tr><td class="paramname">y</td><td>y-coordinate </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a19196a1ea5de308a4bb100aeaa59741e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19196a1ea5de308a4bb100aeaa59741e">◆ </a></span>get_buildings()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_buildings </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get monthly statistics of number of buildings. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current month </dd></dl>
</div>
</div>
<a id="a4ace13c505de75797c57810877e577f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ace13c505de75797c57810877e577f4">◆ </a></span>get_citizens()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_citizens </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get monthly statistics of number of citizens. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current month </dd></dl>
</div>
</div>
<a id="a0144e1dd7af1c9809da2d89c13edcb75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0144e1dd7af1c9809da2d89c13edcb75">◆ </a></span>get_citycars()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_citycars </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get monthly statistics of number of citycars started. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current month </dd></dl>
</div>
</div>
<a id="ad1b1d526b6685bcc1fca44265d76e3e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1b1d526b6685bcc1fca44265d76e3e2">◆ </a></span>get_citygrowth_enabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool city_x::get_citygrowth_enabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Check city growth allowance. </p><dl class="section return"><dt>Returns</dt><dd>whether city growth is enabled for this city </dd></dl>
</div>
</div>
<a id="aa8a3a5f6120634af3f22b5c057186992"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8a3a5f6120634af3f22b5c057186992">◆ </a></span>get_generated_mail()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_generated_mail </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get monthly statistics of number of generated mail. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current month </dd></dl>
</div>
</div>
<a id="ae02e9f8363797918d7adc3a70fb49841"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae02e9f8363797918d7adc3a70fb49841">◆ </a></span>get_generated_pax()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_generated_pax </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get monthly statistics of number of generated passengers. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current month </dd></dl>
</div>
</div>
<a id="af3516e2248d6882f1b45b150a5996102"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3516e2248d6882f1b45b150a5996102">◆ </a></span>get_growth()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_growth </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get monthly statistics of number of city growth. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current month </dd></dl>
</div>
</div>
<a id="a8faf040177dc30a41e47a4716d299cf3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8faf040177dc30a41e47a4716d299cf3">◆ </a></span>get_name()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string city_x::get_name </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return name of city </p><dl class="section return"><dt>Returns</dt><dd>name </dd></dl>
</div>
</div>
<a id="aa4e0cdb5fcc8af3aa45320601386cdad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4e0cdb5fcc8af3aa45320601386cdad">◆ </a></span>get_pos()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcoord.html">coord</a> city_x::get_pos </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Position of town-hall. </p><dl class="section return"><dt>Returns</dt><dd>town-hall position </dd></dl>
</div>
</div>
<a id="a389d985a747bcd69918ac183bb99b2c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a389d985a747bcd69918ac183bb99b2c6">◆ </a></span>get_pos_nw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcoord.html">coord</a> city_x::get_pos_nw </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>City limits.</p>
<p>City area is between <a class="el" href="classcity__x.html#a389d985a747bcd69918ac183bb99b2c6">get_pos_nw()</a>.x and <a class="el" href="classcity__x.html#a2a90331e6fe1db739e7ed013657cbe3f">get_pos_se()</a>.x, and <a class="el" href="classcity__x.html#a389d985a747bcd69918ac183bb99b2c6">get_pos_nw()</a>.y and <a class="el" href="classcity__x.html#a2a90331e6fe1db739e7ed013657cbe3f">get_pos_se()</a>.y.</p>
<p>It is <b>not</b> guaranteed that <a class="el" href="classcity__x.html#a389d985a747bcd69918ac183bb99b2c6">get_pos_nw()</a>.x <= <a class="el" href="classcity__x.html#a2a90331e6fe1db739e7ed013657cbe3f">get_pos_se()</a>.x or <a class="el" href="classcity__x.html#a389d985a747bcd69918ac183bb99b2c6">get_pos_nw()</a>.y <= <a class="el" href="classcity__x.html#a2a90331e6fe1db739e7ed013657cbe3f">get_pos_se()</a>.y holds! </p><dl class="section return"><dt>Returns</dt><dd>coordinate of one corner of city limit </dd></dl>
</div>
</div>
<a id="a2a90331e6fe1db739e7ed013657cbe3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a90331e6fe1db739e7ed013657cbe3f">◆ </a></span>get_pos_se()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcoord.html">coord</a> city_x::get_pos_se </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>City limits.</p>
<p>City area is between <a class="el" href="classcity__x.html#a389d985a747bcd69918ac183bb99b2c6">get_pos_nw()</a>.x and <a class="el" href="classcity__x.html#a2a90331e6fe1db739e7ed013657cbe3f">get_pos_se()</a>.x, and <a class="el" href="classcity__x.html#a389d985a747bcd69918ac183bb99b2c6">get_pos_nw()</a>.y and <a class="el" href="classcity__x.html#a2a90331e6fe1db739e7ed013657cbe3f">get_pos_se()</a>.y.</p>
<p>It is <b>not</b> guaranteed that <a class="el" href="classcity__x.html#a389d985a747bcd69918ac183bb99b2c6">get_pos_nw()</a>.x <= <a class="el" href="classcity__x.html#a2a90331e6fe1db739e7ed013657cbe3f">get_pos_se()</a>.x or <a class="el" href="classcity__x.html#a389d985a747bcd69918ac183bb99b2c6">get_pos_nw()</a>.y <= <a class="el" href="classcity__x.html#a2a90331e6fe1db739e7ed013657cbe3f">get_pos_se()</a>.y holds! </p><dl class="section return"><dt>Returns</dt><dd>coordinate of another corner of city limit </dd></dl>
</div>
</div>
<a id="acfcf2db92883dc787ecd9210877bfba7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfcf2db92883dc787ecd9210877bfba7">◆ </a></span>get_transported_mail()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_transported_mail </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get monthly statistics of number of transported mail. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current month </dd></dl>
</div>
</div>
<a id="add541632de65b3edc2f6efa3284da859"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add541632de65b3edc2f6efa3284da859">◆ </a></span>get_transported_pax()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_transported_pax </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get monthly statistics of number of transported passengers. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current month </dd></dl>
</div>
</div>
<a id="a4027a9debacc2494dc5ca5cee2cb196f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4027a9debacc2494dc5ca5cee2cb196f">◆ </a></span>get_year_buildings()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_year_buildings </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get per year statistics of number of buildings. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current year </dd></dl>
</div>
</div>
<a id="a75d676a96b7033c81ac196584b81a54f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75d676a96b7033c81ac196584b81a54f">◆ </a></span>get_year_citizens()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_year_citizens </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get per year statistics of number of citizens. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current year </dd></dl>
</div>
</div>
<a id="a21e877472a7e41426e281497639eaa69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21e877472a7e41426e281497639eaa69">◆ </a></span>get_year_citycars()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_year_citycars </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get per year statistics of number of citycars started. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current year </dd></dl>
</div>
</div>
<a id="a3a94af115ed55e7e01962c0daef5d919"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a94af115ed55e7e01962c0daef5d919">◆ </a></span>get_year_generated_mail()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_year_generated_mail </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get per year statistics of number of generated mail. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current year </dd></dl>
</div>
</div>
<a id="a448fc4ce8d3d56f8286e2c2f582c0096"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a448fc4ce8d3d56f8286e2c2f582c0096">◆ </a></span>get_year_generated_pax()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_year_generated_pax </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get per year statistics of number of generated passengers. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current year </dd></dl>
</div>
</div>
<a id="a4d0afaaa6e930ce74b9f78929fd5f623"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d0afaaa6e930ce74b9f78929fd5f623">◆ </a></span>get_year_growth()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_year_growth </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get per year statistics of number of city growth. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current year </dd></dl>
</div>
</div>
<a id="ab6d7a895ffeb2bda32225a4839f2eeb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6d7a895ffeb2bda32225a4839f2eeb7">◆ </a></span>get_year_transported_mail()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_year_transported_mail </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get per year statistics of number of transported mail. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current year </dd></dl>
</div>
</div>
<a id="a32a9c6513cec4855efb31e5ef05045ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32a9c6513cec4855efb31e5ef05045ac">◆ </a></span>get_year_transported_pax()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">array<integer> city_x::get_year_transported_pax </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get per year statistics of number of transported passengers. </p><dl class="section return"><dt>Returns</dt><dd>array, index [0] corresponds to current year </dd></dl>
</div>
</div>
<a id="a5ac784ba19884725b0d64478fed0dc40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ac784ba19884725b0d64478fed0dc40">◆ </a></span>is_valid()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool city_x::is_valid </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>if object is still valid. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="api__city_8cc_source.html">api_city.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>