package net.knarcraft.paidsigns.container; import java.util.UUID; /** * A representation of a sign placed by a player that matched a paid sign */ public class TrackedSign { private final UUID playerId; private final double cost; /** * Instantiates a new tracked sign * * @param playerId

The unique id of the player that created the sign

* @param cost

The cost the player paid for creating the sign

*/ public TrackedSign(UUID playerId, double cost) { this.playerId = playerId; this.cost = cost; } /** * Gets the id of the player that created this tracked sign * * @return

The player that created this tracked sign

*/ public UUID getPlayerId() { return this.playerId; } /** * Gets the cost the player paid for creating this paid sign * * @return

The cost paid for creating this sign

*/ public double getCost() { return this.cost; } }