private int getUnitCostForUnitType(String unitType){
        if (unitType == GameConstants.ARCHER){
            return GameConstants.ARCHER_COST;
        } else if (unitType == GameConstants.LEGION){
            return GameConstants.LEGION_COST;
        } else if (unitType == GameConstants.SETTLER){
            return GameConstants.SETTLER_COST;
        } else if (unitType == GameConstants.CHARIOT){
            return GameConstants.CHARIOT_COST;

        } else {
            return 0;
        }
    }