forked from DaivsP/Maven.Casino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request DaivsP#14 from JeremyMcCray/storageDave
wrote storage, removed pom
- Loading branch information
Showing
7 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 17 additions & 1 deletion
18
src/main/java/io/zipcoder/casino/CasinoClasses/Storage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
package io.zipcoder.casino.CasinoClasses; | ||
|
||
import java.util.HashMap; | ||
|
||
public class Storage { | ||
} | ||
private HashMap<Integer,Membership> memberStorage; | ||
|
||
public Storage(Membership membership){ | ||
this.memberStorage.put(membership.getIdNumber(), membership); | ||
} | ||
|
||
public HashMap<Integer, Membership> getMemberStorage() { | ||
return memberStorage; | ||
} | ||
|
||
public void setMemberStorage(HashMap<Integer, Membership> memberStorage) { | ||
this.memberStorage = memberStorage; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,4 @@ public Player playerBuilder() { | |
public Boolean isTurn() { | ||
return null; | ||
} | ||
} |
5 changes: 0 additions & 5 deletions
5
src/main/java/io/zipcoder/casino/GameClasses/DiceGames/DiceGame.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters