Package game

Klasse MainGame

java.lang.Object
game.MainGame

public class MainGame extends Object
This is the main class for the game Love Letter
  • Konstruktordetails

    • MainGame

      public MainGame()
      This is the constructor for the Main Game
  • Methodendetails

    • main

      public static void main(String[] args)
      The main method
      Parameter:
      args - For optional input
    • initializeGame

      public void initializeGame(Scanner scanner)
      Queries the parameters of this game on the console
      Parameter:
      scanner - The scanner used in the calling method
    • startNewGame

      public void startNewGame(Scanner scanner, ArrayList<Player> players)
      This method starts a new game round
      Parameter:
      scanner - The scanner used in the calling method
      players - Players to play with