Package net.jeqo.bloons.management
Class MultipartBalloonManagement
java.lang.Object
net.jeqo.bloons.management.MultipartBalloonManagement
A class to manage the active balloons tied to a player
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MultipartBalloongetPlayerBalloon(UUID playerId) Get the player's balloon from the active balloons mapstatic voidremovePlayerBalloon(UUID playerId) Remove the player's balloon from the active balloons mapstatic voidsetPlayerBalloon(UUID playerId, MultipartBalloon balloon) Set the player's balloon in the active balloons map
-
Constructor Details
-
MultipartBalloonManagement
public MultipartBalloonManagement()
-
-
Method Details
-
setPlayerBalloon
Set the player's balloon in the active balloons map- Parameters:
playerId- The player's UUID, type java.util.UUIDballoon- The balloon to set, type net.jeqo.bloons.balloon.multipart.balloon.MultipartBalloon
-
getPlayerBalloon
Get the player's balloon from the active balloons map- Parameters:
playerId- The player's UUID, type java.util.UUID- Returns:
- The player's balloon, type net.jeqo.bloons.balloon.multipart.balloon.MultipartBalloon
-
removePlayerBalloon
Remove the player's balloon from the active balloons map- Parameters:
playerId- The player's UUID, type java.util.UUID
-