Class PlayerKillPlayerRecord

java.lang.Object
de.marcely.bedwars.api.arena.PlayerKillPlayerRecord

public class PlayerKillPlayerRecord extends Object
Represents a record of a player being killed by another player during a game.
  • Constructor Details

    • PlayerKillPlayerRecord

      public PlayerKillPlayerRecord(UUID killedPlayer, Team killedTeam, Instant time)
      Parameters:
      killedPlayer - the player who was killed
      killedTeam - the team of the killed player
      time - the timestamp of when the kill occurred
  • Method Details

    • getKilledPlayer

      public UUID getKilledPlayer()
      Gets the uuid od the player who was killed.
      Returns:
      the uuid of the killed player
    • getKilledTeam

      public Team getKilledTeam()
      Gets the team of the player who was killed.
      Returns:
      the team of the killed player
    • getTime

      public Instant getTime()
      Gets the time when the kill occurred.
      Returns:
      the time of the kill