Advertisement
Guest User

Untitled

a guest
May 7th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.53 KB | None | 0 0
  1. TEAMS CLASS, CONTAINS METHODS TO JOIN PLAYER TO TEAM
  2. package zane.core.game;
  3.  
  4. import java.util.ArrayList;
  5.  
  6. import org.bukkit.entity.Player;
  7.  
  8. public class teams {
  9.  
  10.     public teams(main main) {
  11.         // Ignore!
  12.     }
  13.  
  14.     public static ArrayList<Player> red = new ArrayList<Player>();
  15.     public static ArrayList<Player> blue = new ArrayList<Player>();
  16.  
  17.     public void JoinTeamBlue(Player player, ArrayList<Player> blue) {
  18.         blue.add(player);
  19.     }
  20.  
  21.     public void JoinTeamRed(Player player, ArrayList<Player> red) {
  22.         red.add(player);
  23.     }
  24.  
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement