package pl.rpg.game;
import java.util.ArrayList;
import java.util.Map;
import java.util.TreeMap;
public class Histories {
ArrayList<History> histories = new ArrayList<>(5);
public Histories() {
String tekst = "U see big classroom with many chairs. On almost every chair sits one student. In" +
" this moment you recalled that today is exam day! In whole classroom only one chair is free." +
" Bad news. It's the chair in front of your professor. What will you do young student? ";
Map<Character, Way> mapa = new TreeMap<>();
mapa.put('W', new Way("Sit in this chair and try to pass this exam (You didn't attend this lecture)",
2));
mapa.put('S', new Way("Pretend that you have made a mistake and run as fast as you can",
3));
History history = new History(tekst, mapa);
histories.add(history);
}
public History getHistory(int id) { return histories.get(); }
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}