Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' of
https://github.uconn.edu/joh13010/2102-Group-Project-Spring-2017.git

Conflicts:
	bin/view/CharityWindow$2.class
	bin/view/CharityWindow$3.class
	bin/view/CharityWindow.class
  • Loading branch information
Joe Hill committed Apr 25, 2017
2 parents d34d54a + 761816a commit deaa729
Show file tree
Hide file tree
Showing 51 changed files with 9 additions and 20 deletions.
11 changes: 0 additions & 11 deletions bin/.gitignore
@@ -1,15 +1,4 @@
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> branch 'master' of https://github.uconn.edu/joh13010/2102-Group-Project-Spring-2017.git
/.DS_Store /.DS_Store
/controller/ /controller/
/model/ /model/
<<<<<<< HEAD
>>>>>>> branch 'master' of https://github.uconn.edu/joh13010/2102-Group-Project-Spring-2017.git
/view/ /view/
/Instructions.class
=======
/view/
>>>>>>> branch 'master' of https://github.uconn.edu/joh13010/2102-Group-Project-Spring-2017.git
Binary file modified bin/model/BigDealStack.class
Binary file not shown.
Binary file modified bin/model/Card.class
Binary file not shown.
Binary file modified bin/model/CardStack.class
Binary file not shown.
Binary file modified bin/model/DealCard.class
Binary file not shown.
Binary file modified bin/model/DealTile.class
Binary file not shown.
Binary file modified bin/model/Die.class
Binary file not shown.
Binary file modified bin/model/DoodadCard.class
Binary file not shown.
Binary file modified bin/model/DoodadStack.class
Binary file not shown.
Binary file modified bin/model/FinancialStatement.class
Binary file not shown.
Binary file modified bin/model/MarketCard.class
Binary file not shown.
Binary file modified bin/model/MarketStack.class
Binary file not shown.
Binary file modified bin/model/OwnedRealEstate.class
Binary file not shown.
Binary file modified bin/model/Profession.class
Binary file not shown.
Binary file modified bin/model/Professions.class
Binary file not shown.
Binary file modified bin/model/SmallDealStack.class
Binary file not shown.
Binary file modified bin/model/Stock.class
Binary file not shown.
Binary file modified bin/view/CharityWindow$2.class
Binary file not shown.
Binary file modified bin/view/CharityWindow$3.class
Binary file not shown.
Binary file modified bin/view/CharityWindow.class
Binary file not shown.
Binary file modified bin/view/ChildWindow$1.class
Binary file not shown.
Binary file modified bin/view/ChildWindow$2.class
Binary file not shown.
Binary file modified bin/view/ChildWindow.class
Binary file not shown.
Binary file modified bin/view/DealCardWindow$1.class
Binary file not shown.
Binary file modified bin/view/DealCardWindow$2.class
Binary file not shown.
Binary file modified bin/view/DealCardWindow$3$1.class
Binary file not shown.
Binary file modified bin/view/DealCardWindow$3$2.class
Binary file not shown.
Binary file modified bin/view/DealCardWindow$3.class
Binary file not shown.
Binary file modified bin/view/DealCardWindow$4$1.class
Binary file not shown.
Binary file modified bin/view/DealCardWindow$4$2.class
Binary file not shown.
Binary file modified bin/view/DealCardWindow$4.class
Binary file not shown.
Binary file modified bin/view/DealCardWindow.class
Binary file not shown.
Binary file modified bin/view/DoodadCardWindow$1.class
Binary file not shown.
Binary file modified bin/view/DoodadCardWindow$2.class
Binary file not shown.
Binary file modified bin/view/DoodadCardWindow.class
Binary file not shown.
Binary file modified bin/view/DownSizeWindow$1.class
Binary file not shown.
Binary file modified bin/view/DownSizeWindow.class
Binary file not shown.
Binary file modified bin/view/GameboardWindow.class
Binary file not shown.
Binary file modified bin/view/MainWindow$1.class
Binary file not shown.
Binary file modified bin/view/MainWindow.class
Binary file not shown.
Binary file modified bin/view/MainWindow1$1.class
Binary file not shown.
Binary file modified bin/view/MainWindow1.class
Binary file not shown.
Binary file modified bin/view/Positioner.class
Binary file not shown.
Binary file modified bin/view/SDStockCardWindow$1.class
Binary file not shown.
Binary file modified bin/view/SDStockCardWindow$2.class
Binary file not shown.
Binary file modified bin/view/SDStockCardWindow$3.class
Binary file not shown.
Binary file modified bin/view/SDStockCardWindow.class
Binary file not shown.
Binary file modified bin/view/Window.class
Binary file not shown.
2 changes: 1 addition & 1 deletion src/model/DealTile.java
Expand Up @@ -21,7 +21,7 @@ public class DealTile extends Tile
{ {
// TODO // TODO
// Ask user to decide big/small deal: // Ask user to decide big/small deal:
CharityWindow charityWindow = new CharityWindow(); CharityWindow charityWindow = new CharityWindow();
charityWindow.showButtonDemo(); charityWindow.showButtonDemo();




Expand Down
11 changes: 7 additions & 4 deletions src/view/GameboardWindow.java
@@ -1,5 +1,6 @@
package view; package view;
import model.*; import model.*;

import controller.*; import controller.*;
import java.awt.*; import java.awt.*;
import java.util.ArrayList; import java.util.ArrayList;
Expand Down Expand Up @@ -195,17 +196,19 @@ public class GameboardWindow extends JPanel {


} }


public void update() { //updates the location of the player on the board public void update(ArrayList<Player> _players) { //updates the location of the player on the board
for (int i = 0; i < Cashflow.numPlayers; i++) { for (int i = 0; i < _players.size(); i++) {
int x = (int) points[Player[i].getLocation()].getX(); // i will fix this later int x = (int) points[_players.get(i).getLocation()].getX(); // i will fix this later
int y = (int) points[Player[i].getLocation()].getY(); // int y = (int) points[_players.get(i).getLocation()].getY(); //
Positioners.get(i).setX(x); Positioners.get(i).setX(x);
Positioners.get(i).setY(y); Positioners.get(i).setY(y);


} }


} }










Expand Down
5 changes: 1 addition & 4 deletions src/view/MainMenu.java
Expand Up @@ -10,10 +10,7 @@ import java.io.*;


import javax.imageio.ImageIO; import javax.imageio.ImageIO;
import javax.swing.*; import javax.swing.*;

import controller.Cashflow;
import model.Instructions; import model.Instructions;
import model.Player;


public class MainMenu public class MainMenu
{ {
Expand Down Expand Up @@ -279,7 +276,7 @@ public class MainMenu
frame.dispose(); frame.dispose();


//Cashflow.go(playerNames); //Cashflow.go(playerNames);
System.exit(0); //System.exit(0);
} }
}); });
return playerNames; return playerNames;
Expand Down

0 comments on commit deaa729

Please sign in to comment.