public void startSim(Integer moveType_, Integer precType_, Integer weaponType_) { Survivor survivor = new Survivor( theModel, 2, MovementType.values()[moveType_], PrecautionType.values()[precType_], new Weapon(WeaponType.values()[weaponType_]), theModel.generateRandAim()); // theModel.setActiveSurvivors(survivor); // theModel.setAllSurvivors(survivor, 0); addObstacles(); addExits(); }
public InitTestMap(ModeloZombie theModel_) { theModel = theModel_; _environmentMap = theModel.getEnvironmentMap(); _agentMap = theModel.getAgentMap(); }