Skip to content
Snippets Groups Projects
Commit ec360a6a authored by Zening Li's avatar Zening Li
Browse files

Merge branch 'master' of gitlab.eng.unimelb.edu.au:zeningl/swen30006-group-work

parents f161d325 47cb25c1
Branches
No related tags found
No related merge requests found
v0.1
1. Scoring during 'the show'(expect runs).
2. "Totals and last cards" during "the play"
v0.2
1. Partial log. Including SEED, player info, deal, discard, satrter.
\ No newline at end of file
package observer;
public enum Activity {
DEALING, DISCARDING, SELECTING, PLAY, SHOW
}
2021/4/15
////////////////////////////////////////////////////////
New variables
************************************************
In Class Simulation:
private static double ACTIVITY_UNIT_PRICE;
private static double MARKUP_PERCENTAGE;
In Class MailPool:
In private Class Item:
double charge;
boolean isNewItem = true;
************************************************
New methods
************************************************
In Class MailPool:
public double calculateCharge;
public void setItemCharge;
public void getItemInfo;(This method is not a part of assignment, it will be removed)
public boolean isNewItem;
public int getItemDestination;
public int getPoolSize;
public void sortPriorityMailItems;
************************************************
New codes
************************************************
In Class Simulation:
from line 81 to line 95
from line 119 to line 121
from line 156 to line 161
************************************************
////////////////////////////////////////////////////////
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment