public class Key
extends Item
Item used to unlock game graph locked edges.
-
Field Summary
Fields inherited from class com.adventure.models.items.Item
name, weight
-
Constructor Summary
Constructors
-
Method Summary
-
Constructor Details
-
Key
Constructor.
- Parameters:
key
- Key value.
-
Method Details
-
getValue
Value getter.
- Returns:
- Key value.
-
-
-
hashCode
public int hashCode()
- Overrides:
hashCode
in class Item