Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.rabrg.loadout.game.team;
- import java.util.Vector;
- import org.bukkit.entity.Player;
- /**
- * Represents a single team in a loadout game.
- * @author Ryan Greene
- *
- */
- final class Team {
- /**
- * The players that are currently on the team.
- */
- private final Vector<Player> players;
- /**
- * Constructs a new team with the specified team size;
- * @param teamSize The size of the team.
- */
- Team(final int teamSize) {
- this.players = new Vector<Player>(teamSize);
- }
- /**
- * Gets the players that are currently on the team.
- * @return The players that are currently on the team.
- */
- Vector<Player> getPlayers() {
- return players;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement