package nl.sogyo.mancala.domein; import Sequenic.T2.BaseDomainSmall; public class CustomBaseDomain extends BaseDomainSmall { public CustomBaseDomain() { super(); } private Object[] result = new Object[1]; public Object[] get(Class C) { if (C == Mancala.class) { result[0] = new MancalaGenerator(); return result; } else { return super.get(C); } } }