Package de.kaiserpfalzedv.rpg.core.dice
Interface LookupTable
public interface LookupTable
a lookup table to calculate a numeric result from a dice throw.
- Since:
- 1.0.0 2021-01-09
- Author:
- klenkes74 <rlichit@kaiserpfalz-edv.de>
-
Method Summary
Modifier and TypeMethodDescriptionintlookup(int total) This is a lookup to calculate a result from a die roll.
-
Method Details
-
lookup
int lookup(int total) This is a lookup to calculate a result from a die roll.- Parameters:
total- The original die roll.- Returns:
- The looked up value.
-