new Day( [num] [, events])
Information about a single game day that was simulated.
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
num |
number |
<optional> |
The day number. |
events |
Array.<HungryGames~FinalEvent> |
<optional> |
The events that will take place during this day. |
Members
-
events :Array.<HungryGames~FinalEvent>
-
All events to take place during this day.
Type:
- Array.<HungryGames~FinalEvent>
-
num :number
-
The day number this is. (Bloodbath is 0).
Type:
- number
-
state :number
-
The state index of this day. 0 is not yet simulated, 1 is currently simulating, and 2-n are the index of the event to show if reduced by 2. (2 = event #0, 3 = event #1).
Type:
- number
Methods
-
<static> from(data)
-
Create a Day from an Object. Similar to copy-constructor.
Parameters:
Name Type Description data
object Day like Object. Returns:
Created Day.- Type
- HungryGames~Day