Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.79 KB | None | 0 0
  1. package me.sitrismc.footballedition;
  2.  
  3. import org.bukkit.scoreboard.Team;
  4.  
  5. import java.util.Random;
  6.  
  7. /**
  8.  * Created by linse_000 on 10/31/2014.
  9.  */
  10. public class FootballUtils {
  11.  
  12.     public void randomizeFormation(Team team) {
  13.         Random r = new Random();
  14.         int formation = r.nextInt(3) + 1;
  15.         if (formation == 1) {
  16.             firstFormation(team);
  17.             return;
  18.         } else if (formation == 2) {
  19.            
  20.         }
  21.     }
  22.  
  23.     public void firstFormation(Team team) {
  24.  
  25.     }
  26.    
  27.     public void secondFormation(Team team) {
  28.        
  29.     }
  30.    
  31.     public void thirdFormation(Team team) {
  32.        
  33.     }
  34.    
  35.     public void fourthFormation(Team team) {
  36.        
  37.     }
  38.    
  39.     public void fifthFormation(Team team) {
  40.        
  41.     }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement