//(c):Benja Fallenstein package gzz.potion.potions; import gzz.*; import gzz.potion.*; import gzz.vob.linebreaking.HChain; import java.util.*; public class Types { public static Type CELL = new SimpleType("which cell?"); public static Type CONNECTION = new SimpleType("which connection?"); public static Type PLACE = new SimpleType("which place?"); public static class SimpleType implements Type { protected String question; public SimpleType(String question) { this.question = question; } public String getQuestionString() { return "[" + question + "]"; } public void renderQuestion(HChain into) { throw new UnsupportedOperationException(); } public Object readCell(Cell c, Map context) { return null; } public Object readDir(int win, int axis, int dir, Map context) { return null; } } }