|
2 | 2 | <!-- NewPage --> |
3 | 3 | <html lang="en"> |
4 | 4 | <head> |
5 | | -<!-- Generated by javadoc (1.8.0_141) on Wed Apr 06 12:59:21 UTC 2022 --> |
| 5 | +<!-- Generated by javadoc (1.8.0_141) on Mon May 02 14:54:08 UTC 2022 --> |
6 | 6 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
7 | | -<title>MultiplayerGameManager (CodinGame Game Engine 4.1.6 API)</title> |
8 | | -<meta name="date" content="2022-04-06"> |
| 7 | +<title>MultiplayerGameManager (CodinGame Game Engine 4.2.0 API)</title> |
| 8 | +<meta name="date" content="2022-05-02"> |
9 | 9 | <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
10 | 10 | <script type="text/javascript" src="../../../../script.js"></script> |
11 | 11 | </head> |
12 | 12 | <body> |
13 | 13 | <script type="text/javascript"><!-- |
14 | 14 | try { |
15 | 15 | if (location.href.indexOf('is-external=true') == -1) { |
16 | | - parent.document.title="MultiplayerGameManager (CodinGame Game Engine 4.1.6 API)"; |
| 16 | + parent.document.title="MultiplayerGameManager (CodinGame Game Engine 4.2.0 API)"; |
17 | 17 | } |
18 | 18 | } |
19 | 19 | catch(err) { |
20 | 20 | } |
21 | 21 | //--> |
22 | | -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10}; |
| 22 | +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; |
23 | 23 | var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
24 | 24 | var altColor = "altColor"; |
25 | 25 | var rowColor = "rowColor"; |
@@ -223,14 +223,24 @@ <h3>Method Summary</h3> |
223 | 223 | </td> |
224 | 224 | </tr> |
225 | 225 | <tr id="i9" class="rowColor"> |
| 226 | +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true" title="class or interface in java.util">Random</a></code></td> |
| 227 | +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/codingame/gameengine/core/MultiplayerGameManager.html#getRandom--">getRandom</a></span>()</code> |
| 228 | +<div class="block"> |
| 229 | + The random generator is used to generated parameters such as width and height.<br> |
| 230 | + The provided random generator is a SecureRandom using the SHAPRNG algorithm.<br></div> |
| 231 | +</td> |
| 232 | +</tr> |
| 233 | +<tr id="i10" class="altColor"> |
226 | 234 | <td class="colFirst"><code>long</code></td> |
227 | 235 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/codingame/gameengine/core/MultiplayerGameManager.html#getSeed--">getSeed</a></span>()</code> |
228 | 236 | <div class="block"> |
229 | | - The seed is used to generated parameters such as width and height.<br> |
230 | | - If a seed is present in the given input, the input value should override the generated values.</div> |
| 237 | + The seed is used to initialize the Random number generator.<br> |
| 238 | + If a seed is present in the given input, the input value should override the generated values.<br> |
| 239 | + |
| 240 | + The seed should NOT be used directly in referee but through the random number generator provided by @method getRandom</div> |
231 | 241 | </td> |
232 | 242 | </tr> |
233 | | -<tr id="i10" class="altColor"> |
| 243 | +<tr id="i11" class="rowColor"> |
234 | 244 | <td class="colFirst"><code>protected void</code></td> |
235 | 245 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/codingame/gameengine/core/MultiplayerGameManager.html#readGameProperties-com.codingame.gameengine.core.InputCommand-java.util.Scanner-">readGameProperties</a></span>(com.codingame.gameengine.core.InputCommand iCmd, |
236 | 246 | <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Scanner.html?is-external=true" title="class or interface in java.util">Scanner</a> s)</code> </td> |
@@ -330,15 +340,34 @@ <h4>getPlayerCount</h4> |
330 | 340 | <h4>getSeed</h4> |
331 | 341 | <pre>public long getSeed()</pre> |
332 | 342 | <div class="block"><p> |
333 | | - The seed is used to generated parameters such as width and height.<br> |
334 | | - If a seed is present in the given input, the input value should override the generated values. |
| 343 | + The seed is used to initialize the Random number generator.<br> |
| 344 | + If a seed is present in the given input, the input value should override the generated values.<br> |
| 345 | + |
| 346 | + The seed should NOT be used directly in referee but through the random number generator provided by @method getRandom |
335 | 347 | </p></div> |
336 | 348 | <dl> |
337 | 349 | <dt><span class="returnLabel">Returns:</span></dt> |
338 | 350 | <dd>an <code>long</code> containing a given or generated seed.</dd> |
339 | 351 | </dl> |
340 | 352 | </li> |
341 | 353 | </ul> |
| 354 | +<a name="getRandom--"> |
| 355 | +<!-- --> |
| 356 | +</a> |
| 357 | +<ul class="blockList"> |
| 358 | +<li class="blockList"> |
| 359 | +<h4>getRandom</h4> |
| 360 | +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true" title="class or interface in java.util">Random</a> getRandom()</pre> |
| 361 | +<div class="block"><p> |
| 362 | + The random generator is used to generated parameters such as width and height.<br> |
| 363 | + The provided random generator is a SecureRandom using the SHAPRNG algorithm.<br> |
| 364 | + </p></div> |
| 365 | +<dl> |
| 366 | +<dt><span class="returnLabel">Returns:</span></dt> |
| 367 | +<dd>an <code>Random</code> containing a given or generated seed.</dd> |
| 368 | +</dl> |
| 369 | +</li> |
| 370 | +</ul> |
342 | 371 | <a name="getGameParameters--"> |
343 | 372 | <!-- --> |
344 | 373 | </a> |
|
0 commit comments