41 lines
796 B
41 lines
796 B
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
package moe.nekojimi.charactermaker.steps;
|
|
|
|
import moe.nekojimi.charactermaker.Main;
|
|
import moe.nekojimi.charactermaker.RollTable;
|
|
|
|
/**
|
|
*
|
|
* @author jimj316
|
|
*/
|
|
public class ChooseYouthPath extends Step
|
|
{
|
|
private static final RollTable<Path> table = new RollTable<>(10);
|
|
static
|
|
{
|
|
table.addEntry(1, Path.WHOLESOME);
|
|
table.addEntry(7, Path.SPLIT);
|
|
table.addEntry(10, Path.FRACTURED);
|
|
};
|
|
|
|
static enum Path
|
|
{
|
|
WHOLESOME,
|
|
SPLIT,
|
|
FRACTURED;
|
|
}
|
|
@Override
|
|
public void run()
|
|
{
|
|
Path path = Main.ui.showRollPrompt("Choose youth path", table, 1);
|
|
switch (path)
|
|
{
|
|
case WHOLESOME:
|
|
|
|
}
|
|
}
|
|
}
|
|
|