Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class AuctionContext {
- public static enum AuctionType {SAA, CCA, LUA};
- private AuctionType type;
- private int round;
- private int duration_ms;
- private ArrayList<AuctionItem> itemList;
- private double minIncreament;
- //priceTick is used in CCA and LUA auction, keep track of current
- price for all items.
- private double priceTick = 0;
- private boolean finalRound;
- public static int numberOfActivityRuleWaivers = 2;
- private boolean activityRuleAnnounced = false;
- private int activityRuleStartRound = -1;
- private int test=15;
- private int summElig;
- child = doc.createElement("waivers");
- child.setAttribute("value", Integer.toString(numberOfActivityRuleWaivers));
- root.appendChild(child);
- <polymer-element name="auction-saa">
- <template>
- <link rel="stylesheet" href="./auction-saa.css" type="text/css" />
- <div id="auction-saa">
- <div class="title">
- <p>SAA - <span>Round {{ round }}</span></p>
- </div>
- <div id="box">
- <p id="time"></p>
- <p id="timeduration"> Minimum Increment: {{ minimumIncreament }} </p>
- <p id="waivers"> Number of Waivers {{waivers}}</p>
- <p id="warning"></p>
- <p id="activityruleannouncement"></p>
- <p id="leadingitems"></p>
- <p id="activityandeligibility"></p>
- Polymer('auction-saa', {
- waivers:-1,
- test:-1,
- displaywaivers:function()
- { this.summElig = this.saa.summElig;
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement