public class WeaponData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
category |
java.lang.String |
description |
java.lang.String |
name |
int |
prone |
int |
standing |
Constructor and Description |
---|
WeaponData(java.lang.String category) |
WeaponData(java.lang.String category,
java.util.Map<java.lang.String,java.lang.Object> map)
Create weapon data from the corresponding map entry (under category map)
|
Modifier and Type | Method and Description |
---|---|
boolean |
isValid() |
java.util.Map<java.lang.String,java.lang.Object> |
toMap()
Convert this weapon data to a map entry for storing under target metadata
|
public java.lang.String name
public java.lang.String description
public java.lang.String category
public int prone
public int standing