- dataFields(String) - Method in class starvationevasion.sim.io.FileObject
-
Method provides a "record," given the proper key, else
returns null.
- DataHandler - Class in starvationevasion.server.handlers
-
- DataHandler(Server, Worker) - Constructor for class starvationevasion.server.handlers.DataHandler
-
- dataKeys() - Method in class starvationevasion.sim.io.FileObject
-
Method returns a Set of Strings which are iterable
over the entire data set.
- DataReader - Class in starvationevasion.sim.io
-
The class DataReader provides static methods to retrieve data.
- DataReader() - Constructor for class starvationevasion.sim.io.DataReader
-
- dataTiles() - Method in class starvationevasion.sim.TileManager
-
Returns a Collection of the tiles held by this TileManager that actually
contain data.
- daysGrownPerYear - Variable in class starvationevasion.sim.CropZoneData
-
- dayTemp - Variable in class starvationevasion.sim.CropZoneData
-
- dbg - Static variable in class starvationevasion.sim.Simulator
-
- dealRandomHand() - Method in class starvationevasion.client.GUIOrig.DraftLayout.hand.Hand
-
Just for testing, deals out basic hand of random cards
- dealRandomHand() - Method in class starvationevasion.client.GUIOrig.DraftLayout.hand.HandOrig
-
Just for testing, deals out basic hand of random cards
- DeckNode - Class in starvationevasion.client.GUIOrig.DraftLayout
-
DeckNode is the GUIOrig element responsible for allowing the user to interact with their deck and their discard pile.
- DeckNode(GUI) - Constructor for class starvationevasion.client.GUIOrig.DraftLayout.DeckNode
-
Constructor for the DeckNode
Takes a reference to the GUIOrig that owns it
- decode(T) - Method in interface starvationevasion.server.io.Serializer
-
- decrypt(String, String) - Method in class starvationevasion.server.io.strategies.SecureSocketReadStrategy
-
- decrypt(String, String) - Method in class starvationevasion.server.io.strategies.SecureSocketWriteStrategy
-
- decrypt(String, String) - Method in interface starvationevasion.server.model.Encryptable
-
- decrypt(String, String) - Method in class starvationevasion.server.model.User
-
- DEFAULT_FILE - Static variable in class starvationevasion.sim.io.CropZoneDataIO
-
- DEFAULT_PORT - Static variable in class starvationevasion.server.ServerConstants
-
- didServerReceiveLogin() - Method in class starvationevasion.client.Logic.Client
-
Determines if the server received a login
- didVoteYes(EnumRegion) - Method in class starvationevasion.common.PolicyCard
-
- discard(EnumPolicy) - Method in class starvationevasion.client.Logic.Client
-
Requests that the server discard the specified
card.
- discard(EnumPolicy) - Method in class starvationevasion.sim.CardDeck
-
- discard(EnumRegion, EnumPolicy) - Method in class starvationevasion.sim.Simulator
-
The Server must call this for each card that is discarded before calling
nextTurn().
- discardCard(ClientPolicyCard) - Method in class starvationevasion.client.GUIOrig.DraftLayout.DeckNode
-
Adds the image of the passed in card to the discard pile
- discardCard(ClientPolicyCard) - Method in class starvationevasion.client.GUIOrig.DraftLayout.hand.Hand
-
Removes card from hand and adds it to the local discard
- discardCard(ClientPolicyCard) - Method in class starvationevasion.client.GUIOrig.DraftLayout.hand.HandOrig
-
Removes card from hand and adds it to the local discard
- DiscardDisplay - Class in starvationevasion.client.GUIOrig.Popups
-
GUIOrig element which is supposed to display the discard cards in the discard pile
It currently does not work at all
- DiscardDisplay(GUI) - Constructor for class starvationevasion.client.GUIOrig.Popups.DiscardDisplay
-
Constructor for the DiscardDisplay
Takes GUIOrig as an argument
- discardPile() - Method in class starvationevasion.client.GUIOrig.DraftLayout.hand.ClientPolicyCard
-
Basic red discard pile
- discardSelected() - Method in class starvationevasion.client.GUIOrig.DraftLayout.hand.Hand
-
removes selected cards from the hand
- discardSelected() - Method in class starvationevasion.client.GUIOrig.DraftLayout.hand.HandOrig
-
removes selected cards from the hand
- displayEarthInformation(MouseEvent) - Method in class starvationevasion.vis.visuals.UserEventHandler
-
- DLAT - Static variable in class starvationevasion.sim.TileManager
-
- DLON - Static variable in class starvationevasion.sim.TileManager
-
- dollarsInDamage - Variable in class starvationevasion.common.SpecialEventData
-
- dollarsPerKM2 - Variable in class starvationevasion.sim.CropZoneData
-
- draftCard(ClientPolicyCard) - Method in class starvationevasion.client.GUIOrig.DraftLayout.hand.Hand
-
Puts a card in the Draft zone
- draftCard(ClientPolicyCard) - Method in class starvationevasion.client.GUIOrig.DraftLayout.hand.HandOrig
-
Puts a card in the Draft zone
- draftCard(PolicyCard) - Method in class starvationevasion.client.Logic.Client
-
Requests that the server draft the specified
card.
- draftCard(PolicyCard) - Method in class starvationevasion.client.utils.Validity
-
- DraftedCards - Class in starvationevasion.client.GUIOrig.DraftLayout
-
DraftedCards is the GUIOrig element responsible for displaying the cards the user has currently selected for drafting
When a user selects draft card on a card, it will appear in this node on the GUIOrig
- DraftedCards() - Constructor for class starvationevasion.client.GUIOrig.DraftLayout.DraftedCards
-
Default constructor for the DraftedCards region
- DRAFTING_PHASE_TIME - Static variable in class starvationevasion.server.ServerConstants
-
- DraftLayout - Class in starvationevasion.client.GUIOrig.DraftLayout
-
The DraftLayout class is responsible for the layout the GUIOrig displays during the draft phase of the game
It holds the GUIOrig elements which let the player view the visualizer, graphs, data about the food products,
the player's hand, the played cards, action buttons, draft status, summary bar, and the player's deck and discard pile
- DraftLayout(GUI) - Constructor for class starvationevasion.client.GUIOrig.DraftLayout.DraftLayout
-
Constructor for the DraftLayout scene
- DraftStatus - Class in starvationevasion.client.GUIOrig.DraftLayout
-
DraftStatus is the GUIOrig element responsible for showing the player the current state of the DraftPhase
It has 7 circles, each of which correspond by their color to a region on the US map
When a region drafts a card, this number should be updated by the corresponding colored scirle
It is not currently working
- DraftStatus() - Constructor for class starvationevasion.client.GUIOrig.DraftLayout.DraftStatus
-
- DraftTimer - Class in starvationevasion.client.GUIOrig.DraftLayout
-
Class responsible for for displaying the Timer during the Drafting Phase
- DraftTimer() - Constructor for class starvationevasion.client.GUIOrig.DraftLayout.DraftTimer
-
Default constructor for the DraftTimer
Makes a Timer and puts it in the DraftTimer node
- draftTimer - Static variable in class starvationevasion.client.GUIOrig.DraftLayout.DraftTimer
-
- draw(Worker) - Method in class starvationevasion.server.Server
-
Draw new cards for a specific user
- draw() - Method in class starvationevasion.server.Server
-
Draw cards for all users
- drawCards() - Method in class starvationevasion.sim.CardDeck
-
Returns an array of cards drawn from the top of the deck so that
the player who own's this deck has a total of 7 cards in hand.
If there are insufficient cards remaining, then the player's discard
pile is shuffled back into the deck.
- drawCards(EnumRegion) - Method in class starvationevasion.sim.Simulator
-
The server must call this for each playerRegion before the first turn
and during each turn's draw phase.
- drawOnMap() - Method in class starvationevasion.client.GUIOrig.DraftLayout.WorldMap
-
- drawOutline() - Method in class starvationevasion.client.GUIOrig.DraftLayout.WorldMap
-
- Drought - Class in starvationevasion.sim.events
-
A drought special event
- Drought(Region) - Constructor for class starvationevasion.sim.events.Drought
-
- durationInMonths - Variable in class starvationevasion.common.SpecialEventData
-
- DX_KM - Static variable in class starvationevasion.sim.TileManager
-
- DY_KM - Static variable in class starvationevasion.sim.TileManager
-