K - The type of elementpublic class BoardElementContainer<K extends BoardElement>
extends java.lang.Object
| Constructor and Description |
|---|
BoardElementContainer(K element,
Position position)
Initializes the BoardElementContainer
|
| Modifier and Type | Method and Description |
|---|---|
K |
getElement()
Gets the element
|
Position |
getPosition()
Gets the position of the element
|