Package net.paulem.arcana.regions
Class Holder<T extends Tracked<K>,K>
java.lang.Object
net.paulem.arcana.regions.Holder<T,K>
- Type Parameters:
T- the type of the data object, which must implement theTrackedinterfaceK- the type of the key associated with the tracked object
Represents a holder that encapsulates spatial coordinates (x, y, z) and a data object of type T.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Holder
Creates a new holder for the given data at the specified coordinates.- Parameters:
x- the x coordinatey- the y coordinatez- the z coordinatedata- the tracked data object held at this position
-