- calcBonusesFromCards(ArrayList<String>, IPlayer) - Method in class se.chalmers.dat255.risk.model.BonusHandler
-
Calculates how large the bonus from trading in cards is.
- calcBonusForF0(int) - Method in class se.chalmers.dat255.risk.model.BonusHandler
-
Calculates special bonus at the start of the game
- calcBonusUnits(IPlayer) - Method in class se.chalmers.dat255.risk.model.BonusHandler
-
Calculates how many units a player will receive at the start of the turn
- Card - Class in se.chalmers.dat255.risk.model
-
A class for representing a card in the game.
- Card(ICard.CardType, String) - Constructor for class se.chalmers.dat255.risk.model.Card
-
Constructor for creating a card with the given type and string or the
string "Joker" if the given type is JOKER.
- CARD_ADDED - Static variable in interface se.chalmers.dat255.risk.model.IPlayer
-
- CARD_REMOVED - Static variable in interface se.chalmers.dat255.risk.model.IPlayer
-
- CardExchanger - Class in se.chalmers.dat255.risk.model
-
- CardExchanger() - Constructor for class se.chalmers.dat255.risk.model.CardExchanger
-
- CARDS - Static variable in interface se.chalmers.dat255.risk.model.IGame
-
- CHANGE_TURN - Static variable in interface se.chalmers.dat255.risk.model.IGame
-
- changeOwner(IPlayer) - Method in class se.chalmers.dat255.risk.model.WorldHandler
-
changes owner of secondProvince to new player
- changeOwner(String, IPlayer) - Method in class se.chalmers.dat255.risk.model.WorldMap
-
Changes the ownership of a certain territory.
- changePhase(IPlayer, List<IPlayer>) - Method in class se.chalmers.dat255.risk.model.TurnAndPhaseManager
-
- CONQUER - Static variable in interface se.chalmers.dat255.risk.model.IGame
-
- continent - Variable in class se.chalmers.dat255.risk.model.WorldMap
-
- continents - Variable in class se.chalmers.dat255.risk.model.WorldMap
-
- CreateCards(ArrayList<String>, int) - Method in class se.chalmers.dat255.risk.model.Deck
-
Constructs the cards in the deck given an array containing the names of
all provinces in the game and the number of jokers there should be in the
deck.