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
public void scoreRound(){ | |
System.out.println(); | |
System.out.println("End of round scores:"); | |
for(Team x: Teams){ | |
TeamScore = x.getScore(); | |
TeamName = x.getTeamName(); | |
TeamBid = x.getTeamBid(); | |
TeamBooks = x.getTeamBooks(); | |
TeamOverBooks = x.getTeamOverBooks(); | |
for(Player z : x.Team){ |
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
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package futurevalueapp; | |
import java.awt.BorderLayout; | |
import java.awt.FlowLayout; | |
import java.awt.GridBagConstraints; | |
import java.awt.GridBagLayout; |
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
public void rainbowize(CommandSender sender, String[] args){ | |
for(String y : args){ | |
String colorMessage = appendColors(y); | |
sender.sendMessage(colorMessage); | |
} | |
} | |
private String appendColors(String y) { | |
y.trim(); | |
StringBuilder sb = new StringBuilder(y); |
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
public void rainbowize(CommandSender sender, String[] args){ | |
String colorMessage = ""; | |
String fullMessage = ""; | |
for(String y : args){ | |
colorMessage = appendColors(y); | |
fullMessage+=colorMessage+" "; | |
} | |
Player player = (Player) sender; | |
player.chat(fullMessage); | |
} |
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
public void sortHand(){ | |
LinkedList<Card> spades = new LinkedList<Card>(); | |
for(Card x : playerHand){ | |
if(x.getSuit() == Suit.SPADES){ | |
spades.add(x); | |
} | |
Collections.sort(spades); | |
} | |
LinkedList<Card> diamonds = new LinkedList<Card>(); | |
for(Card x : playerHand){ |
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
#!/bin/sh | |
# Blake's super awesome jar signing script for *nix | |
if [ -f ~/NetBeansProjects/tpcspades/dist/TPCSpades.jar ] | |
then | |
echo "Jar found" | |
if [ -f ~/Documents/TPCGames ] | |
then | |
echo "Keystore found" | |
echo "Signing jar..." | |
jarsigner -keystore ~/Documents/TPCGames ~/NetBeansProjects/tpcspades/dist/TPCSpades.jar TPCGames |
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
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package com.spades; | |
import java.util.Collections; | |
import java.util.LinkedList; | |
import java.util.List; |
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
#!/bin/sh | |
# Blake's super awesome jar signing script for *nix | |
if [ -f ~/NetBeansProjects/tpcspades/dist/TPCSpades.jar ] | |
then | |
echo "TPCSpades.jar found..." | |
if [ -f ~/Documents/TPCGames ] | |
then | |
echo "Keystore found..." | |
jarsigner -keystore ~/Documents/TPCGames ~/NetBeansProjects/tpcspades/dist/TPCSpades.jar TPCGames > /dev/null | |
echo "Jar signed!" |
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
name: FoundDiamonds | |
version: 3.1.4 | |
main: me.itsatacoshop247.FoundDiamonds.FoundDiamonds | |
author: itsatacoshop247, SeeD419 | |
website: http://dev.bukkit.org/server-mods/founddiamonds/ | |
database: false | |
commands: | |
fd: | |
description: Shows the main menu |
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
package org.seed419.FoundDiamonds; | |
import org.bukkit.ChatColor; | |
import org.bukkit.Material; | |
/** | |
* Created with IntelliJ IDEA. | |
* User: seed419 | |
* Date: 4/12/12 | |
* Time: 3:35 PM |
OlderNewer