MatchPlayer

public class MatchPlayer

One participant of one match. Plugins subclass it through createPlayer.

Constructors

Link copied to clipboard
protected void MatchPlayer(Player player, Match match)

Properties

Link copied to clipboard
Link copied to clipboard
public int lives
Link copied to clipboard
public final Match match
Link copied to clipboard
public final Player player
Link copied to clipboard
public final GameMode previousGameMode
Link copied to clipboard
public final Location previousLocation
Link copied to clipboard
public MatchRole role

Functions

Link copied to clipboard
Link copied to clipboard
public int getLives()
Link copied to clipboard
public Match getMatch()
Link copied to clipboard
public Player getPlayer()
Link copied to clipboard
public GameMode getPreviousGameMode()
Link copied to clipboard
public Location getPreviousLocation()
Link copied to clipboard
public MatchRole getRole()
Link copied to clipboard
public UUID getUniqueId()
Link copied to clipboard
public boolean hasEntered()
Whether the entry teleport has put this player into the match yet.
Link copied to clipboard
protected boolean teleport(Location destination, MoveReason reason)
Moves the player.