public static StrategyFactory getInstance() { if (_instance == null) _instance = new StrategyFactory(); return _instance; }
public void setStrategy(int strategy) { this.gameStrategy = StrategyFactory.getInstance().getGameStrategy(strategy); }