| Constructor and Description |
|---|
Requirement(String name,
int min,
int max) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMax() |
int |
getMin() |
String |
getName() |
boolean |
matches(Item.Capability cap) |
static Item.Requirement |
parse(String spec) |
String |
toString() |
public Requirement(String name, int min, int max)
public static Item.Requirement parse(String spec)
public String getName()
public int getMin()
public int getMax()
public boolean matches(Item.Capability cap)
Copyright © 2017. All rights reserved.